Michael,

Thank you for your reply.  Unfortunately, I'm not as knowledgeable about the 
GNU development tools as I should be.  Any troubleshooting tips you wish to 
share are greatly appreciated.  Here is some more information about my 
setup.

Michael Schloh von Bennewitz wrote:
> Hello David,
> 
> The process you used to bootstrap and build your first packages is
> correct, so congratulations. Even though the samba and pdflib SRPMs you
> described just build successfully on my machine (Sol 8 64-bit) I suspect
> there are problems with the packages.
> 
> pdflib seems to depend on tiff, and is probably using a tiff library on
> your system somewhere (maybe /opt/sfw/lib/libtiff.a?). I will look for
> this dependency and root it out.

I removed all the Solaris companion CD software and all the packages I built 
myself from the machine *before* bootstrapping the OpenPKG system (with the 
exception of gcc from the SMCgcc package).  I built the OpenPKG tiff 
package from SRPM without a problem (and installed it) before I attempted 
to build pdflib.

> samba is using the native Solaris ld on your system, however it expects
> the GNU ld from binutils. A quick fix is to install the binutils package,
> and make sure that its ld is first in the path. I will also look into this
> to make the package work correctly, however. Please stay tuned.

Actually, I already had the binutils package installed (built from OpenPKG 
SRPM) and in the path first (thanks to "eval `/opt/openpkg/etc/rc --eval 
all env`").  I double checked and 'which ld' returns '/opt/openpkg/bin/ld'.  
I should mention that, after bootstrapping, the first OpenPKG SRPM I built 
was gcc.  After installing the resulting gcc RPM, I removed the SMCgcc 
Solaris package and proceded to build from OpenPKG SRPMs using the new gcc.  
Should I have built the binutils SRPM using SMCgcc *before* building gcc 
from SRPM?  I suspect that, even though the other packages compile and 
work, they may be using Sun's ld.  For instance, if I run ldd on 
/opt/openpkg/bin/cvs, the result is:

        libxnet.so.1 =>  /lib/libxnet.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

What is the order in which I should build the development SRPMs to make the 
OpenPKG environment as close to self-hosting as possible?

Thanks again for taking the time to look into this.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to