View previous topic :: View next topic |
Author |
Message |
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Fri Apr 29, 2005 4:33 pm Post subject: Gentoo on Tiger (libreadline) |
|
|
Hello,
I just got Tiger and now I want to install Tiger-Cow.
Everything is Okey to the moment I try to emerge system.
(I installed Gentoo on osx panter before, so I know what I'm doing )
I followed the sugestions from: http://gentoo-wiki.com/Gentoo_for_Mac_OS_X
I even added:
Code: | root# echo -e "sys-devel/libperl-5.8.1\ndev-lang/perl-5.8.1" >> /etc/portage/profile.package.provided
root# echo -e "sys-devel/automake-1.6.3\nsys-devel/autoconf-2.57\nsys-devel/m4-1.4" >> /etc/portage/profile/package.provided
root# echo sys-apps/coreutils-0.0.0 >> /etc/portage/profile/package.provided
|
The prosess fails with libreadline:
Code: |
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
make[1]: *** [libreadline.4.3.dylib] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
make[1]: *** [libhistory.4.3.dylib] Error 1
make: [shared] Error 2 (ignored)
rm -f libreadline.4.3.dylib
|
_snap-
Code: |
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
make: *** [libreadline.4.3.dylib] Error 1
!!! ERROR: sys-libs/readline-4.3-r6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
Does anyone how to solve this?
Elmar |
|
Back to top |
|
|
sapo_selo n00b
Joined: 06 Feb 2005 Posts: 26 Location: Portugal
|
Posted: Fri Apr 29, 2005 6:19 pm Post subject: |
|
|
i used gentoo on osx without problems in panther, but now i got tiger too... and the dmg installed correctly but when i do the first emerge --sync i get this:
Code: | $ emerge --sync
Password:
sem_init: Function not implemented
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_init: Function not implemented
sem_trywait: Bad file descriptor
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_init: Function not implemented
sem_trywait: Bad file descriptor
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_init: Function not implemented
sem_trywait: Bad file descriptor
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_init: Function not implemented
sem_trywait: Bad file descriptor
sem_wait: Bad file descriptor
sem_post: Bad file descriptor
sem_init: Function not implemented
it repeats itself for a while ...
!!! Failed to complete portage imports. There are internal modules for
!!! portage and failure here indicates that you have a problem with your
!!! installation of portage. Please try a rescue portage located in the
!!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
!!! There is a README.rescue file that details the steps required to perform
!!! a recovery of portage.
can't allocate lock
|
any suggestions??? _________________ Não há luz mas vê-se uma grande escuridão =P |
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Fri Apr 29, 2005 7:45 pm Post subject: |
|
|
I suggest you follow wiki: http://gentoo-wiki.com/Gentoo_for_Mac_OS_X
Did you change terminal.app to /bin/bash? (Terminal --> preferences --> execute this command)
Elmar |
|
Back to top |
|
|
sapo_selo n00b
Joined: 06 Feb 2005 Posts: 26 Location: Portugal
|
Posted: Fri Apr 29, 2005 8:04 pm Post subject: |
|
|
yeah... i did that... _________________ Não há luz mas vê-se uma grande escuridão =P |
|
Back to top |
|
|
gaima n00b
Joined: 25 Aug 2003 Posts: 8
|
Posted: Sun May 01, 2005 12:02 am Post subject: Re: Gentoo on Tiger (libreadline) |
|
|
elmar283 wrote: |
Code: |
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
make: *** [libreadline.4.3.dylib] Error 1
!!! ERROR: sys-libs/readline-4.3-r6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
Does anyone how to solve this?
Elmar |
Edit /usr/portage/sys-libs/readline/files/macos.patch, redigest, and merge.
I can get it to compile now, but portage complains that history.h and readline.h already exist |
|
Back to top |
|
|
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Mon May 02, 2005 2:07 am Post subject: |
|
|
You need to turn of collision protection to get libreadline to compile. This is a common issue with portage on OS X, and it's in the install guide. _________________ Teilo who is called Teilo |
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Mon May 02, 2005 6:55 am Post subject: |
|
|
I did, but it didn't work.
Still the same error.
Code: |
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
|
This with the command: FEATURES=-collision-protect emerge system |
|
Back to top |
|
|
griso.roberto n00b
Joined: 02 May 2005 Posts: 1
|
Posted: Mon May 02, 2005 9:21 am Post subject: Ficed with Disc Utility |
|
|
elmar283 wrote: | I did, but it didn't work.
Still the same error.
Code: |
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lcc_dynamic
/usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library)
|
This with the command: FEATURES=-collision-protect emerge system |
I've fixed this problem with DiscUtily in /Applications/Utily/DiscUtility and the function "fix permission" |
|
Back to top |
|
|
spkane n00b
Joined: 17 Apr 2002 Posts: 3 Location: San Diego, CA, USA
|
Posted: Fri May 06, 2005 7:40 pm Post subject: The Fix ( cc_dynamic and readline problems ) |
|
|
As reported by the previous poster running:
Applications/Utility/Disk Utility
selecting your Mac OS X startup disk and then selecting repair permissions does fix this problem. It seems to add some required symbolic links that don't exist initially. _________________ Sean P. Kane
----------------
When we destroy something man has created we call it vandalism.....
When we destroy something that Gaia has created we call it progress. |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
|
Back to top |
|
|
|