Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92524 - libtoolize is called glibtoolize on Panther so libmng fails
Summary: libtoolize is called glibtoolize on Panther so libmng fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
: 92725 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-13 11:04 UTC by Petteri Räty (RETIRED)
Modified: 2006-04-12 10:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch which replaces autoreconf with autogen.sh (libmng.patch,329 bytes, patch)
2005-06-10 08:30 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-05-13 11:04:59 UTC
http://mail-archives.apache.org/mod_mbox/logging-log4cxx-user/200406.mbox/%3C40E3B2B4.2070100@apache.org%3E

Or try googling for mac and libtoolize. 

Reproducible: Always
Steps to Reproduce:
1. emerge libmng

Actual Results:  
emerge fails to find libtoolize

Expected Results:  
There should be a symlink for glibtoolize called libtoolize in /usr/bin
Comment 1 Hasan Khalil (RETIRED) gentoo-dev 2005-05-13 14:26:06 UTC
check out profile.bashrc. :)

charlies-book 10.3 # cat profile.bashrc 
export MACOSX_DEPLOYMENT_TARGET="10.3"

# <usata@gentoo.org> (23 Sep 2004)
# /usr/X11R6 is not in our PATH
export PATH="${PATH}:/usr/X11R6/bin"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/X11R6/lib/pkgconfig"

alias libtool=glibtool
alias libtoolize=glibtoolize

[ -x /usr/bin/gsed ] && alias sed=gsed 
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-05-13 14:30:43 UTC
So it seems. But for some reason libmng fails without the symlink. I guess I need to supply more info then. But symlinking solved the problem. I tried which libtoolize but I didn't think about alias. ;D
Comment 3 Kito (RETIRED) gentoo-dev 2005-05-13 15:16:11 UTC
please paste the output of `sudo emerge info`
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-26 09:36:49 UTC
*** Bug 92725 has been marked as a duplicate of this bug. ***
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2005-05-26 09:40:11 UTC
You can find more info about the error in Bug 92725. I will post more info about
the computer I tried this on when my friend comes here again and I have access
to his computer. Should happen during this or next week.
Comment 6 Fabian Groffen gentoo-dev 2005-06-10 04:24:47 UTC
the libmng package has in it's root a small script called autogen.sh.  I
modified the ebuild such that it calls that script instead of autoreconf (which
the autogen scripts amongst others doed) and it builds fine that way.  They
autogen.sh script checks for glibtoolize for instance...

I don't know why exactly the autogen.sh script is not used, but for macos-ppc it
seems to make it compile flawless.
Comment 7 Lina Pezzella (RETIRED) gentoo-dev 2005-06-10 08:20:03 UTC
Please attach a patch whenever you make modifications to the package so that what you did can be
exactly duplicated.
Comment 8 Fabian Groffen gentoo-dev 2005-06-10 08:30:07 UTC
Created attachment 60990 [details, diff]
patch which replaces autoreconf with autogen.sh

ok.

didn't supply the patch, because I only do have one portage copy and I edit
directly in it (because it vanishes on a sync anyway).

please find attached my patch.

perhaps it needs an extra if for ppc-macos only.
Comment 9 Lina Pezzella (RETIRED) gentoo-dev 2005-06-10 14:17:04 UTC
Apple neglected to define LIBTOOLIZE, which is why autoreconf was dying. It's been put in the profile.
That should fix the bug without needing to run the provided autogen.sh, which can often be finicky.
Reopen if necessary - the fix works on my machine.