I just started playing with OpenPKG this weekend. First, let me say that this project will save me countless hours building open source packages for Solaris. I am looking forward to deploying it on all our Solaris hosts.
Currently, I have successfully built several packages from SRPMs. However, building pdflib and samba from SRPMs is not working. I used openpkg-20021023-20021023.src.sh to boot strap the environment and I'm building from SRPMs from ftp://ftp.openpkg.org/release/1.1/SRC. I list the details of my setup below, but first the problems. rpm --rebuild ftp://ftp.openpkg.org/release/1.1/SRC/pdflib-4.0.3-1.1.0.src.rpm results in: [snip] + /opt/openpkg/bin/make --no-print-directory cd tiff && /opt/openpkg/bin/make ../libtool --silent --mode=compile /opt/openpkg/bin/cc -c -I../pdflib -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O -DPDF_PLATFORM=\""SunOS 5.8"\" tif_auxx.c make[1]: *** [tif_auxx.lo] Error 1 make: *** [libtiff] Error 2 error: Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.25965 (%build) rpm --rebuild ftp://ftp.openpkg.org/release/1.1/SRC/samba-2.2.5-1.1.0.src.rp results in: [snip] Compiling smbd/notify.c Compiling smbd/notify_hash.c Compiling smbd/notify_kernel.c Linking bin/smbd /usr/ccs/bin/ld: illegal option -- E usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) [-64] enforce a 64-bit link-edit [-a] create an absolute file [-b] do not do special PIC relocations in a.out Is there something not quite right in my development environment? Any help is appreciated. Our environment is 64-bit Solaris 8 (Generic_108528-13). I here are the steps I took to install the openpkg environment: * boot a 64-bit kernel * remove all open source (especially zlib) * make sure /usr/ccs/bin is in the path * install gcc (from SMCgcc package) and make sure it is in the path * add user and group for openpkg * sh openpkg-20021023-20021023.src.sh --prefix=/opt/openpkg --user=openpkg --group=openpkg * sh openpkg-20021023-20021023.sparc64-solaris2.8-oo.sh * eval * verify rpm works buy rebuilding gcc from the openpkg SRPM * uninstall SMCgcc (in favor of the RPM version) Removing my own zlib packages before running the bootstrap process was necessary to avoid building rpm with a dependency on my zlib package (which I removed after building and installing zlib from openpkg's SRPM). ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
