Build Failure on OpenSuSE 10.2 AMD 64 and Solution
Andreas Schaefer
andreas.schaefer at madplanet.com
Sun May 13 17:01:19 UTC 2007
Hi
Petteri Räty wrote:
> Andreas Schaefer kirjoitti:
>
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
>> cannot find -lX11
>>
>
> See that?
>
Yes, I saw that and that what made me go installing X11. The strange
thing is that there was only one X11.so (in ghostscript) and that after
installing the additional RPMs I did not found any new X11.* files.
It also seems only to happen on AMD64 because with OpenSuSE on Intel
32-bit I did not have to install these packages.
>
>> After installing X11-devel and X11-Server I could go with the build even
>> though I have no clue what fixed it.
>>
>>
>
> You were missing the libraries so installing them fixed it. Of course it
> would be better to check for them in the sanity check and fail with a
> nice error message.
>
Well, maybe but I am not quite sure if you can check for all
dependencies. It is also difficult to keep up as you see with the
AccColorT.h file that is not used to build but the sanity check looks
for that file.
All of that is a strong incentive for me to have a Java-source-only
build using Ant. It is way to complicated to build the Java source with
the make file.
-Andy
More information about the build-dev
mailing list