pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Pkgsrc/Pulsaudio - Unable to find libltdl/libtool version 2/.2.2



Hello

Please i need to Compile Pulseaudio from /usr/pkgsrc/audio/pulseaudio
libtool and libltdl-2.2.6b installed also LDFlag it's set.
Please help 
best regards
Mauri

NetBSD caloro.ch 5.1 NetBSD 5.1 (NetraX1) Sparc64

# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc45/libexec/gcc/sparc64-netbsd5.1/4.5.3/lto-wrapper
Target: sparc64-netbsd5.1
Configured with: /usr/pkgsrc/lang/gcc45/work/gcc-4.5.3/configure --enable-nls 
--prefix=/usr/pkg/gcc45 --enable-languages='c c++ fortran objc' 
--with-system-zlib --enable-shared --enable-__cxa_atexit --enable-long-long 
--with-local-prefix=/usr/pkg/gcc45 --enable-libssp --enable-threads=posix 
--with-gmp=/usr/pkg --with-mpfr=/usr/pkg --with-ld=/usr/pkg/bin/gnu-ld 
--with-libelf=/usr/pkg
Thread model: posix
gcc version 4.5.3 (GCC)

# pkg_info -L libtool-base-2.2.6bnb5
Information for libtool-base-2.2.6bnb5:
Files:
/usr/pkg/bin/libtool
/usr/pkg/bin/libtoolize
/usr/pkg/bin/shlibtool
/usr/pkg/share/libtool/libltdl/config-h.in
/usr/pkg/share/libtool/libltdl/configure
/usr/pkg/share/libtool/libltdl/configure.ac
/usr/pkg/share/libtool/libltdl/libltdl/lt__alloc.h
/usr/pkg/share/libtool/libltdl/libltdl/lt__dirent.h
/usr/pkg/share/libtool/libltdl/libltdl/lt__glibc.h
/usr/pkg/share/libtool/libltdl/libltdl/lt__private.h
/usr/pkg/share/libtool/libltdl/libltdl/lt__strl.h
/usr/pkg/share/libtool/libltdl/libltdl/lt_dlloader.h
/usr/pkg/share/libtool/libltdl/libltdl/lt_error.h
/usr/pkg/share/libtool/libltdl/libltdl/lt_system.h
/usr/pkg/share/libtool/libltdl/libltdl/slist.h
/usr/pkg/share/libtool/libltdl/loaders/dld_link.c
/usr/pkg/share/libtool/libltdl/loaders/dlopen.c
/usr/pkg/share/libtool/libltdl/loaders/dyld.c
/usr/pkg/share/libtool/libltdl/loaders/load_add_on.c
/usr/pkg/share/libtool/libltdl/loaders/loadlibrary.c
/usr/pkg/share/libtool/libltdl/loaders/preopen.c
/usr/pkg/share/libtool/libltdl/loaders/shl_load.c

# pkg_info -L libltdl-2.2.6b
Information for libltdl-2.2.6b:
Files:
/usr/pkg/include/libltdl/lt_dlloader.h
/usr/pkg/include/libltdl/lt_error.h
/usr/pkg/include/libltdl/lt_system.h
/usr/pkg/include/ltdl.h
/usr/pkg/lib/libltdl.la
/usr/pkg/lib/libltdl.a
/usr/pkg/lib/libltdl.so
/usr/pkg/lib/libltdl.so.7
/usr/pkg/lib/libltdl.so.7.2.1

-----

/usr/pkgsrc/audio/pulseaudio/work/pulseaudio/configure.ac
[snip]
dnl We don't need any special variable for this though, since the user
dnl can give the proper place to find libltdl through the standard
dnl variables like LDFLAGS and CPPFLAGS.

AC_CHECK_HEADER([ltdl.h],
    [AC_CHECK_LIB([ltdl], [lt_dladvise_init], [LIBLTDL=-lltdl], [LIBLTDL=])],
    [LIBLTDL=])

AS_IF([test "x$LIBLTDL" = "x"],
    [AC_MSG_ERROR([Unable to find libltdl version 2. Makes sure you have libtool
 2.2 or later installed.])])
AC_SUBST([LIBLTDL])

----

/usr/pkgsrc/audio/pulseaudio# LDFLAGS=-Wl,-export-dynamic,"-L/usr/pkg/lib"; make

=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Full dependency libltdl>=2.2.6: found libltdl-2.2.6b 
checking for dlopen... yes
checking whether a program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking ltdl.h usability... no
checking ltdl.h presence... yes
configure: WARNING: ltdl.h: present but cannot be compiled
configure: WARNING: ltdl.h:     check for missing prerequisite headers?
configure: WARNING: ltdl.h: see the Autoconf documentation
configure: WARNING: ltdl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: ltdl.h: proceeding with the compiler's result
configure: WARNING:     ## --------------------------------------------------- 
##
configure: WARNING:     ## Report this to mzchyfrnhqvb (at) 0pointer (dot) net 
##
configure: WARNING:     ## --------------------------------------------------- 
##
checking for ltdl.h... no
configure: error: Unable to find libltdl version 2. Makes sure you have libtool 
2.2 or later installed.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/pulseaudio
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/pulseaudio
#

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index