Re: [Fink-devel] X11 docs again

2003-01-30 Thread Chris Zubrzycki
On Thursday, January 30, 2003, at 06:20  PM, Martin Costabel wrote:


Alexander Hansen wrote:

Have all of the wrinkles been ironed out of the Apple X11 patch script
yet, so that I can add a recommendation to the docs?


I think the discussion of the install_name bug has been too much on 
the optimistic side. There had been some anecdotal evidence that the 
bug leads to build crashes here and now and not only maybe sometime in 
the future, and I have now seen one with my own eyes:

mkdir .libs
gcc -Wall -g -O2 -o allwidgets allwidgets.o  -L/usr/X11R6/lib -lX11 
-lXt -lXpm -lXext -lXmu -L/sw/lib -lXaw3d ../Mowitz/.libs/libMowitz.a 
-lXaw3d -lXpm -lXmu -lXext -lXt -lX11 -lSM -lICE -lm
ld: ../Mowitz/.libs/libMowitz.a(MwSlider.o) illegal reference to 
symbol: _XmuCvtStringToOrientation defined in indirectly referenced 
dynamic library /usr/X11R6/lib/libXmu.6.dylib

Note that -lXmu is there on the command line, but libXmu.6.dylib is 
nevertheless considered as "indirectly referenced". It is referenced 
by one of the other libraries (maybe libXaw3d) that was built against 
a non-Apple version of X11.

This crash goes away after Ben's install_name_fix script is run.

So maybe the wording "...bug in the install name of the libraries that 
can cause some software to build incorrectly" is too friendly. This 
one doesn't build "incorrectly", it doesn't build at all.

maybe it should be merged with system-xfree, and if apple's x11 is 
detected, it should be run?

-chris zubrzycki
- --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070


Unix  _IS_  user friendly... It's just selective about who its friends 
are.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] X11 docs again

2003-01-30 Thread Martin Costabel
Alexander Hansen wrote:

Have all of the wrinkles been ironed out of the Apple X11 patch script
yet, so that I can add a recommendation to the docs?


I think the discussion of the install_name bug has been too much on the 
optimistic side. There had been some anecdotal evidence that the bug 
leads to build crashes here and now and not only maybe sometime in the 
future, and I have now seen one with my own eyes:

mkdir .libs
gcc -Wall -g -O2 -o allwidgets allwidgets.o  -L/usr/X11R6/lib -lX11 -lXt -lXpm -lXext -lXmu -L/sw/lib -lXaw3d ../Mowitz/.libs/libMowitz.a -lXaw3d -lXpm -lXmu -lXext -lXt -lX11 -lSM -lICE -lm
ld: ../Mowitz/.libs/libMowitz.a(MwSlider.o) illegal reference to symbol: _XmuCvtStringToOrientation defined in indirectly referenced dynamic library /usr/X11R6/lib/libXmu.6.dylib


Note that -lXmu is there on the command line, but libXmu.6.dylib is 
nevertheless considered as "indirectly referenced". It is referenced by 
one of the other libraries (maybe libXaw3d) that was built against a 
non-Apple version of X11.

This crash goes away after Ben's install_name_fix script is run.

So maybe the wording "...bug in the install name of the libraries that 
can cause some software to build incorrectly" is too friendly. This one 
doesn't build "incorrectly", it doesn't build at all.

--
Martin



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] X11 Docs

2003-01-27 Thread Jeremy Erwin
It would be fine, if it worked-- all I get are

Parentheses missing around "my" list at ./fixlib line 4.
Useless use of a variable in void context at ./fixlib line 4.
you must be root to run this![jeremy@callisto:~]$ sudo ./fixlib
Parentheses missing around "my" list at ./fixlib line 4.
Useless use of a variable in void context at ./fixlib line 4.
fixing libapplexp.1.0.dylib references...
Usage: /usr/bin/install_name_tool [-change old new] ... [-id name] input
sh: /usr/X11R6/lib/libapplexp.1.0.dylib: Bad executable (or shared 
library)
Usage: /usr/bin/install_name_tool [-change old new] ... [-id name] input
sh: /usr/X11R6/lib/libdps.1.0.dylib: Permission denied

[and so on]

On Monday, January 27, 2003, at 04:04  PM, Alexander Hansen wrote:

It's the lead item on the fink news right now, but it's going to get
buried soon.

On Mon, 2003-01-27 at 15:58, Hisashi T Fujinaka wrote:

I'm for it.

I wish there was some other way to find out about it. I didn't notice 
it
until I saw someone mention it on irc.

On Mon, 27 Jan 2003, Alexander Hansen wrote:

Should I add an item to the X11 Guid advising users to run Ben H's
library fixer script for Apple X11?


--
Alexander Hansen <[EMAIL PROTECTED]>
Columbia University


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] X11 Docs

2003-01-27 Thread Alexander Hansen
It's the lead item on the fink news right now, but it's going to get
buried soon.

On Mon, 2003-01-27 at 15:58, Hisashi T Fujinaka wrote:
> I'm for it.
> 
> I wish there was some other way to find out about it. I didn't notice it
> until I saw someone mention it on irc.
> 
> On Mon, 27 Jan 2003, Alexander Hansen wrote:
> 
> > Should I add an item to the X11 Guid advising users to run Ben H's
> > library fixer script for Apple X11?
> >
-- 
Alexander Hansen <[EMAIL PROTECTED]>
Columbia University


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] X11 Docs

2003-01-27 Thread Hisashi T Fujinaka
I'm for it.

I wish there was some other way to find out about it. I didn't notice it
until I saw someone mention it on irc.

On Mon, 27 Jan 2003, Alexander Hansen wrote:

> Should I add an item to the X11 Guid advising users to run Ben H's
> library fixer script for Apple X11?
>

-- 
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel