Build problem

Zsolt Udvari udvzsolt at gmail.com
Sat Aug 30 16:51:16 CEST 2008


Hi all!

I've got a little(?) problem with building libtorrent-rasterbar.

configure runs fine but the make will recive the next message:

 + /usr/bin/make
Making all in include
make[1]: Entering directory
`/var/rpmbuild/BUILD/libtorrent-rasterbar-0.13.1/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/rpmbuild/BUILD/libtorrent-rasterbar-0.13.1/include'
Making all in src
make[1]: Entering directory
`/var/rpmbuild/BUILD/libtorrent-rasterbar-0.13.1/src'
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pld-linux-g++
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.13.1\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-D_FILE_OFFSET_BITS=64 -DHAVE_PTHREAD=1 -DHAVE_BOOST_SYSTEM=/\*\*/
-DHAVE_BOOST_ASIO=/\*\*/ -DHAVE_BOOST=/\*\*/
-DHAVE_BOOST_DATE_TIME=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/
-DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/
-DHAVE_BOOST_PROGRAM_OPTIONS=/\*\*/ -DTORRENT_USE_OPENSSL=/\*\*/
-DHAVE_LIBZ=1 -DTORRENT_BUILDING_SHARED=/\*\*/
-DTORRENT_LINKING_SHARED=/\*\*/ -DNDEBUG=/\*\*/ -I.
-D_FORTIFY_SOURCE=2  -pthread -pthread -I/usr/include
-ftemplate-depth-50 -I../include -I../include/libtorrent   -pthread
-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -O2 -fno-strict-aliasing
-fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2
-I/usr/include/openssl -DHAVE_SSL -O2 -fno-strict-aliasing -fwrapv
-march=i686 -mtune=pentium4 -gdwarf-2 -g2  -MT entry.lo -MD -MP -MF
.deps/entry.Tpo -c -o entry.lo entry.cpp
../libtool[941]: X--tag=CXX: not found
../libtool[941]: libtool: ignoring unknown tag : not found
../libtool[941]: X--mode=compile: not found
../libtool[7039]: *** Warning: inferring the mode of operation is
deprecated.: not found
../libtool[7039]: *** Future versions of Libtool will require
--mode=MODE be specified.: not found
../libtool[7039]: Xi686-pld-linux-g++: not found
../libtool[7039]: X-DPACKAGE_NAME="": not found
../libtool[7039]: X-DPACKAGE_TARNAME="": not found
../libtool[7039]: X-DPACKAGE_VERSION="": not found
../libtool[7039]: X-DPACKAGE_STRING="": not found
../libtool[7039]: X-DPACKAGE_BUGREPORT="": not found
../libtool[7039]: X-DPACKAGE="libtorrent-rasterbar": not found
../libtool[7039]: X-DVERSION="0.13.1": not found
../libtool[7039]: X-DSTDC_HEADERS=1: not found
../libtool[7039]: X-DHAVE_SYS_TYPES_H=1: not found
../libtool[7039]: X-DHAVE_SYS_STAT_H=1: not found
../libtool[7039]: X-DHAVE_STDLIB_H=1: not found
../libtool[7039]: X-DHAVE_STRING_H=1: not found
../libtool[7039]: X-DHAVE_MEMORY_H=1: not found
../libtool[7039]: X-DHAVE_STRINGS_H=1: not found
../libtool[7039]: X-DHAVE_INTTYPES_H=1: not found
../libtool[7039]: X-DHAVE_STDINT_H=1: not found
../libtool[7039]: X-DHAVE_UNISTD_H=1: not found
../libtool[7039]: X-DHAVE_DLFCN_H=1: not found
../libtool[7039]: X-DLT_OBJDIR=".libs/": not found
../libtool[7039]: X-D_FILE_OFFSET_BITS=64: not found
../libtool[7039]: X-DHAVE_PTHREAD=1: not found
../libtool[7039]: X-DHAVE_BOOST_SYSTEM=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_ASIO=/**/: not found
../libtool[7039]: X-DHAVE_BOOST=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_DATE_TIME=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_FILESYSTEM=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_THREAD=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_REGEX=/**/: not found
../libtool[7039]: X-DHAVE_BOOST_PROGRAM_OPTIONS=/**/: not found
../libtool[7039]: X-DTORRENT_USE_OPENSSL=/**/: not found
../libtool[7039]: X-DHAVE_LIBZ=1: not found
../libtool[7039]: X-DTORRENT_BUILDING_SHARED=/**/: not found
../libtool[7039]: X-DTORRENT_LINKING_SHARED=/**/: not found
../libtool[7039]: X-DNDEBUG=/**/: not found
../libtool[7039]: X-I.: not found
../libtool[7039]: X-D_FORTIFY_SOURCE=2: not found
../libtool[7039]: X-pthread: not found
../libtool[7039]: X-pthread: not found
../libtool[7039]: X-I/usr/include: not found
../libtool[7039]: X-ftemplate-depth-50: not found
../libtool[7039]: X-I../include: not found
../libtool[7039]: X-I../include/libtorrent: not found
../libtool[7039]: X-pthread: not found
../libtool[7039]: X-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION: not found
../libtool[7039]: X-O2: not found
../libtool[7039]: X-fno-strict-aliasing: not found
../libtool[7039]: X-fwrapv: not found
../libtool[7039]: X-march=i686: not found
../libtool[7039]: X-mtune=pentium4: not found
../libtool[7039]: X-gdwarf-2: not found
../libtool[7039]: X-g2: not found
../libtool[7039]: X-I/usr/include/openssl: not found
../libtool[7039]: X-DHAVE_SSL: not found
../libtool[7039]: X-O2: not found
../libtool[7039]: X-fno-strict-aliasing: not found
../libtool[7039]: X-fwrapv: not found
../libtool[7039]: X-march=i686: not found
../libtool[7039]: X-mtune=pentium4: not found
../libtool[7039]: X-gdwarf-2: not found
../libtool[7039]: X-g2: not found
../libtool[7039]: X-MT: not found
../libtool[7039]: Xentry.lo: not found
../libtool[7039]: X-MD: not found
../libtool[7039]: X-MP: not found
../libtool[7039]: X-MF: not found
../libtool[7039]: X.deps/entry.Tpo: not found
../libtool[7039]: X-c: not found
../libtool[7039]: Xentry.lo: not found
../libtool[7039]: libtool: compile: cannot determine name of library
object from `': not found
make[1]: *** [entry.lo] Error 1
make[1]: Leaving directory `/var/rpmbuild/BUILD/libtorrent-rasterbar-0.13.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /root/tmp/rpm-tmp.25296 (%build)


RPM build errors:
    Bad exit status from /root/tmp/rpm-tmp.25296 (%build)
Error: package build failed. (no more info)

What's wrong?

I've attached the spec file and a patch.

Zsolt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtorrent-rasterbar-examples.patch
Type: application/octet-stream
Size: 631 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20080830/bdbb78f8/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtorrent-rasterbar.spec
Type: application/octet-stream
Size: 5828 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20080830/bdbb78f8/attachment-0001.obj 


More information about the pld-devel-en mailing list