Hi!

I've recently stubled two times over building perl packages where some linking fails but the RPM build process doesnt stop. One ist the perl-gd which will not link without the X11 Libs, and the other one is perl-dbi with Oracle Support when the build process doesnt fiddle out the Ora-Libs.

It is a little bit annoying to find such an build error after the install of the Binary-RPM :-)

For the perl-gd I have a logfile at hand...


:::: ftp://ftp.openpkg.org/current/SRC/perl-gd-5.8.3-20040318.src.rpm ::::
Installing ftp://ftp.openpkg.org/current/SRC/perl-gd-5.8.3-20040318.src.rpm
Executing(%prep): env -i /opt/stw/lib/openpkg/bash --norc --noprofile --posix -e /opt/stw/RPM/TMP/rpm-tmp.72628
+ cd /opt/stw/RPM/TMP
+ cd /opt/stw/RPM/TMP
+ rm -rf perl-gd-5.8.3
+ /opt/stw/lib/openpkg/shtool mkdir -f -p -m 755 -p perl-gd-5.8.3
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GD-2.12.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GDTextUtil-0.86.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GD-Barcode-1.14.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GDGraph-1.43.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GDGraph3d-0.56.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/GDGraph-Map-1.05.tgz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/Chart-2.3.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/Chart-ThreeD-0.01.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/Chart-Plot-0.11.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/lib/openpkg/gzip -dc /opt/stw/RPM/SRC/perl-gd/Image-Timeline-0.11.tar.gz
+ /opt/stw/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ exit 0
Executing(%build): env -i /opt/stw/lib/openpkg/bash --norc --noprofile --posix -e /opt/stw/RPM/TMP/rpm-tmp.38005
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ exit 0
Executing(%install): env -i /opt/stw/lib/openpkg/bash --norc --noprofile --posix -e /opt/stw/RPM/TMP/rpm-tmp.38005
+ cd /opt/stw/RPM/TMP
+ cd perl-gd-5.8.3
+ /opt/stw/bin/perl-openpkg prepare
++ OpenPKG perl-openpkg 2.0.0 (26-Jan-2004)
++ determined RPM program: /opt/stw/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /opt/stw/bin/perl (5.8.3)
++ step 1: prepare
++ cleaning up environment
+ /opt/stw/bin/perl-openpkg -d /opt/stw/RPM/SRC/perl-gd/GD-2.12.tar.gz configure build install
++ OpenPKG perl-openpkg 2.0.0 (26-Jan-2004)
++ determined RPM program: /opt/stw/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /opt/stw/bin/perl (5.8.3)
++ step 2: configure


Where is libgd installed? [/usr/lib] /usr/lib

Please choose the features that match how libgd was built:
Build JPEG support? [y] y
Build FreeType support? [y] y
Build XPM support? [y] y

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.


Checking if your kit is complete...
Looks good
Writing Makefile for GD
++ step 3: build
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/opt/stw/RPM/TMP/root-perl-openpkg-perl-gd/perl.sh /opt/stw/lib/perl/5.8.3/ExtUtils/xsubpp -typemap /opt/stw/lib/perl/5.8.3/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
/opt/stw/bin/cc -c -I/usr/local/include -I/usr/local/include/gd -fno-strict-aliasing -I/opt/stw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -fpic "-I/opt/stw/lib/perl/5.8.3/i686-linux/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/X11R6/lib" /opt/stw/bin/cc -shared -L/opt/stw/lib GD.o -o blib/arch/auto/GD/GD.so -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/local/lib -lgd -lpng -lz -lfreetype -ljpeg -lm -lX11 -lXpm
/opt/stw/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
++ step 4: install
Installing /opt/stw/RPM/TMP/perl-gd-5.8.3-root/opt/stw/lib/perl/vendor_perl/5.8.3/qd.pl
Installing /opt/stw/RPM/TMP/perl-gd-5.8.3-root/opt/stw/lib/perl/vendor_perl/5.8.3/GD.pm
Installing /opt/stw/RPM/TMP/perl-gd-5.8.3-root/opt/stw/lib/perl/vendor_perl/5.8.3/auto
/GD/autosplit.ix
Installing /opt/stw/RPM/TMP/perl-gd-5.8.3-root/opt/stw/lib/perl/vendor_perl/5.8.3/GD/P
olyline.pm
Writing /opt/stw/RPM/TMP/perl-gd-5.8.3-root/opt/stw/lib/p
[...]


cheerio
  Steve

--
Steh auf wenn Du am Boden bist! Steh auf auch wenn Du unten liegst !
Steh auf, es wird schon irgendwie weitergeh'n. -- DtH, 2002

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to