Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Tiger (libreadline)
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 194
Location: Netherlands

PostPosted: Fri Apr 29, 2005 4:33 pm    Post subject: Gentoo on Tiger (libreadline) Reply with quote

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 :P)

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
View user's profile Send private message
sapo_selo
n00b
n00b


Joined: 06 Feb 2005
Posts: 26
Location: Portugal

PostPosted: Fri Apr 29, 2005 6:19 pm    Post subject: Reply with quote

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??? :roll:
_________________
Não há luz mas vê-se uma grande escuridão =P
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 194
Location: Netherlands

PostPosted: Fri Apr 29, 2005 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
sapo_selo
n00b
n00b


Joined: 06 Feb 2005
Posts: 26
Location: Portugal

PostPosted: Fri Apr 29, 2005 8:04 pm    Post subject: Reply with quote

yeah... i did that... :(
_________________
Não há luz mas vê-se uma grande escuridão =P
Back to top
View user's profile Send private message
gaima
n00b
n00b


Joined: 25 Aug 2003
Posts: 7

PostPosted: Sun May 01, 2005 12:02 am    Post subject: Re: Gentoo on Tiger (libreadline) Reply with quote

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
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Mon May 02, 2005 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 194
Location: Netherlands

PostPosted: Mon May 02, 2005 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message
griso.roberto
n00b
n00b


Joined: 02 May 2005
Posts: 1

PostPosted: Mon May 02, 2005 9:21 am    Post subject: Ficed with Disc Utility Reply with quote

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
View user's profile Send private message
spkane
n00b
n00b


Joined: 17 Apr 2002
Posts: 3
Location: San Diego, CA, USA

PostPosted: Fri May 06, 2005 7:40 pm    Post subject: The Fix ( cc_dynamic and readline problems ) Reply with quote

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
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 287
Location: where the hell is Tesuque, New Mexico?

PostPosted: Fri May 13, 2005 10:52 pm    Post subject: Reply with quote

I've posted an updated readline ebuild pacakge:

http://www.aoc.nrao.edu/~bwaters/projects/mac/MacGentoo/readline-tiger.tgz

I'm not sure it's a good idea to replace your libreadline... hmm.. anyway, I did!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum