[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: libgeda compile error



On Thu, 2006-09-14 at 08:52 -0500, John Griessen wrote:
> I saw some written up on the web about debian packaging maybe being the culprit.
> 
> ========================
> From: Daniel Stone <daniels@xxxxxxxxxx>
>  > ... snip ...
>  > libtool: link: cannot find the library `/usr/lib/libXcursor.la'
>  > ... snap ...
>  >
>  > Indeed, the file vanished:
> 
> Yes, this is deliberate, and packages which use it have to rebuild.
> ==================================
> 
> It may be one of those transitions between ways of doing things with xorg.
> Should I grab the file from something old and paste it in?  How to regenerate it?

On a knoppix based environment:

dpkg -L libxcursor-dev
"
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libxcursor-dev
/usr/share/doc/libxcursor-dev/copyright
/usr/share/doc/libxcursor-dev/changelog.Debian.gz
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/Xcursor.3x.gz
/usr/include
/usr/include/X11
/usr/include/X11/Xcursor
/usr/include/X11/Xcursor/Xcursor.h
/usr/lib
/usr/lib/libXcursor.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/xcursor.pc
/usr/lib/libXcursor.so
"

cat /usr/lib/pkgconfig/xcursor.pc 
"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
icondir=${prefix}/share/icons

Name: Xcursor
Description: X Cursor Library
Version: 1.1.5.2
Requires: xproto
Requires.private: x11 xrender xfixes
Cflags: -I${includedir}
Libs: -L${libdir} -lXcursor
"

(And is similar on my Gentoo box - a different icondir and minor
version).

And from my Gentoo box:

cat /usr/lib/libXcursor.la 
"
# libXcursor.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.22 Debian 1.5.22-2
(1.1220.2.365 2005/12/18 22:14:06)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libXcursor.so.1'

# Names of this library.
library_names='libXcursor.so.1.0.2 libXcursor.so.1 libXcursor.so'

# The name of the static archive.
old_library='libXcursor.a'

# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libXrender.la /usr/lib/libXfixes.la /usr/lib/libX11.la /usr/lib/libXau.la /usr/lib/libXdmcp.la -ldl'

# Version information for libXcursor.
current=1
age=0
revision=2

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'
"

You might be able to recreate a similar file to get the build to
complete.

Peter






_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user