Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem when compiling Xprt of X11R7.1




Am 22.10.2006 um 09:16 schrieb Ben Byer:


If you install that libtool in /usr/local/bin, then run these commands in your xorg-xserver tree:


mkdir -p /usr/local/share/aclocal

What is this empty directory good for?

If you make this directory and set ACLOCAL as below before you make all of the preqrequisites, some of them will place files there that you will need if you ever want to re-run autoconf on any of the packages. (Specifically, in mine I have these files:


libtool.m4 ltdl.m4 pkg.m4 xaw.m4 xorg-macros.m4 xorgversion.m4 xtrans.m4


My 'X files' are in /usr/X11R7/share/aclocal. I'll add this component to ACLOCAL for the next try.



I think I found the cause of your problems compiling Xprt:

When I use xorg-server-X11R7.1-1.1.0 without any patches, and try to compile Xprt, I get this:


[...]


The problem here is in the ordering of the dynamic libraries. If you move them ('-lX11 -lXfont -lm -lfontenc -lfreetype -lz -lXdmcp - lXau') to the end of that line, after libXext.la, it will compile correctly.

How do you find this? Which tools might tell to do so? Or is it just experience?


(I am trying to compile xorg-server-1.1.99.3 of X11R7.1, that's what 'git status' tells me. And this seems to be a bit 'experimental:' minor changes in environment variables change success of making the lib targets!)

--
Greetings

  Pete

Make it simple, as simple as possible but no simpler.
                              Albert Einstein


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem when compiling Xprt of X11R7.1 (From: Peter Dyballa <email@hidden>)
 >Re: Problem when compiling Xprt of X11R7.1 (From: Ben Byer <email@hidden>)
 >Re: Problem when compiling Xprt of X11R7.1 (From: Peter Dyballa <email@hidden>)
 >Re: Problem when compiling Xprt of X11R7.1 (From: Ben Byer <email@hidden>)



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.