[Scribus] How to include /usr/X11R6/lib64 in library search path (scribus 1.3.5svn)

Craig Ringer craig
Mon Sep 3 11:52:33 CEST 2007


Reinhard Zwirnmann wrote:
> Hi there,
> 
> I'm trying to compile a new version of scribus 1.3.5svn. The compiler / linker 
> is looking for the x11 libs in /usr/lib64 instead of /usr/X11R6/lib64, where 
> they are installed (at least for both my openSUSE distros).
> 
> The german error code looks like this:
> CMakeFiles/Makefile2:1747: Warnung: Die Befehle f?r das 
> Ziel ?scribus/styles/CMakeFiles/scribus_styles_lib.dir/clean? werden 
> ?berschrieben
> CMakeFiles/Makefile2:1645: Warnung: Alte Befehle f?r das 
> Ziel ?scribus/styles/CMakeFiles/scribus_styles_lib.dir/clean? werden 
> ignoriert
> make[2]: *** Keine Regel vorhanden, um das Target ?/usr/lib64/libSM.so?,
>   ben?tigt von ?scribus/scribus?, zu erstellen.  Schluss.
> make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Fehler 2
> make: *** [all] Fehler 2
> 
> How can I tell the compiler or cmake or whatever to look in /usr/X11R6/lib64, 
> too?

Using -DCMAKE_LIBRARY_PATH=/usr/X11R6/lib64 should do the trick, as per
the BUILDING file. Ideally the FindX11.cmake (or whatever) file should
do this automatically.

When posting error messages on mailing lists it's often worth re-running
the job in the `C' locale, eg:

LC_ALL=C LANG=C make

since this produces POSIX formatted error messages in English. This is a
multilingual list, but the devs' common language is English and you'll
get a better response faster if you stick to it for really technical
stuff like error messages.

--
Craig Ringer




More information about the scribus mailing list