| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 9:49 AM +0200 7/26/04, Robert Cerny wrote:_______________________________________________Hi Dan,
thanks for your reply, I really appreciate the help you are continuously giving to people in this list. Well, the problem I'm solving here is probably behind my knowledge - the server I'm talking about was the very first server I installed (in time of MacOS X 10.1) and it's upgraded to the current OS version.
Could you give me an idea how to correct the problems I'm facing with?
In that case I'll guess you might have previously run and configured CPAN when PERL was running elsewhere on your system (or you just configured it wrong.)
I would either build this module manually, being careful that the the build configuration points to the right locations for the libraries and include files, or nuke your CPAN configuration and re-initalize it. (See CPAN docs for more.)
On 25.7.2004, at 22:37, Dan Shoop wrote:
At 6:05 PM +0200 7/24/04, Robert Cerny wrote:Hi,
I do use CPAN for installing Unix::Syslog. But it refuses to work :(
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
This is a warning message, and non-fatal, except that this isn't a directory you'd expect to be using if you're building against the Apple distributed PERL.
Running Mkbootstrap for Unix::Syslog ()
chmod 644 Syslog.bs
rm -f blib/arch/auto/Unix/Syslog/Syslog.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Syslog.o -o blib/arch/auto/Unix/Syslog/Syslog.bundle -lc
Here, again, you're linking against the wrong libraries.
Not surprisingly it will next find undefined symbols b/c the files it expects there are not there...
ld: -undefined: unknown argument: dynamic_lookup
make: *** [blib/arch/auto/Unix/Syslog/Syslog.bundle] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
...and it fails.
This tells me that you have things defined very wrongly for CPAN and the build process in general.
Generally speaking when people build their own localized software packages they should be located in /usr/local, which would be true if you were building your own PERL, or extending it. But you're not, so you have to make sure you're referencing the right locations, which may mean you need to disregard instructions that expect you're building a localized package in 'local-land'. But this is true for many things, not just PERL.
--
-dhan
--------------------------------------------------------------------- ---
Dan Shoop
email@hidden
Consulting Internet Architect
email@hidden
AIM: iWiring
http://www.iwiring.net/
http://www.ustsvs.com/
pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF 12B1 7840 3BE7 3736 DE0B
iWiring designs and supports Internet systems and networks based on
Mac OS X, unix, and Open Source application technologies and offers
24x7, guaranteed support to registered clients, at affordable rates.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.
When responding to messages, please keep your quotes short.
--
-dhan
----------------------------------------------------------------------- -
Dan Shoop email@hidden
Consulting Internet Architect email@hidden
AIM: iWiring http://www.iwiring.net/
http://www.ustsvs.com/
pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF 12B1 7840 3BE7 3736 DE0B
iWiring designs and supports Internet systems and networks based on
Mac OS X, unix, and Open Source application technologies and offers
24x7, guaranteed support to registered clients, at affordable rates.
| References: | |
| >Corrupted PERL installation (From: Robert Cerny <email@hidden>) | |
| >Re: Corrupted PERL installation (From: Dan Shoop <email@hidden>) | |
| >Re: Corrupted PERL installation (From: Robert Cerny <email@hidden>) | |
| >Re: Corrupted PERL installation (From: Dan Shoop <email@hidden>) | |
| >Re: Corrupted PERL installation (From: Robert Cerny <email@hidden>) | |
| >Re: Corrupted PERL installation (From: Dan Shoop <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.