AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<ken.renshaw@onstor.com>,<larry.scheer@onstor.com>,<ed.kwan@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E02F3D5D3@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 6 Aug 2007 14:58:28 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Ken Renshaw" <ken.renshaw@onstor.com>
Cc: "Larry Scheer" <larry.scheer@onstor.com>, "Ed Kwan" <ed.kwan@onstor.com>
Subject: Re: what am i doing wrong? (having trouble building in R3_0_1_rel
 branch)
Message-ID: <20070806145828.4c0894b1@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E02F3D5D3@onstor-exch02.onstor.net>
References: <20070806143636.305d91c3@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E02F3D5D3@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 6 Aug 2007 14:50:06 -0700 "Ken Renshaw"
<ken.renshaw@onstor.com> wrote:

> I'm in the middle of building the same tree in prep for checking in
> some patch merges, and will verify I do not hit the error
> ( hopefully ).
> 
> Does make release work on an NFS partition now ( assuming ~andys is
> remote )? last I knew it did not. Larry can you confirm?

I'm building on local disk, /home/andys/...

> -----Original Message-----
> From: Andy Sharp
> Sent: Mon 8/6/2007 2:36 PM
> To: Larry Scheer
> Cc: Ken Renshaw; Ed Kwan
> Subject: what am i doing wrong? (having trouble building in
> R3_0_1_rel branch) 
> Some build breakage, for me at least, on linux-compile building in the
> R3_0_1_rel branch.
> 
> I'm able to build bsd, and in nfx-tree, a simple 'make' appears to
> work, but 'make release' bombs with this:
> 
> .
> .
> .
>   Entering subdirectory libldap_r
> make[4]: Entering directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries/libldap_r' ../../../build/shtool
> mkdir
> -p /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib /bin/sh /home/andys/src/R3_0_1_rel/openbsd.new/src/openldap-2.2.26/build-cross/libtool
> --mode=install /usr/bin/install -c   -m 644
> libldap_r.la /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
> libtool: install: warning: relinking
> `libldap_r.la' (cd /home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries/libldap_r; /bin/sh /home/andys/src/R3_0_1_rel/openbsd.new/src/openldap-2.2.26/build-cross/libtool
> --mode=relink /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/bin/gcc
> -g -O2 -release 2.2 -version-info 7:19:0
> -rpath /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/lib
> -o libldap_r.la threads.lo rdwr.lo tpool.lo rq.lo thr_posix.lo
> thr_cthreads.lo thr_thr.lo thr_lwp.lo thr_nt.lo thr_pth.lo
> thr_stub.lo bind.lo open.lo result.lo error.lo compare.lo search.lo
> controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo
> add.lo modrdn.lo delete.lo abandon.lo sasl.lo sbind.lo kbind.lo
> unbind.lo cancel.lo filter.lo free.lo sort.lo passwd.lo whoami.lo
> getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo
> os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo
> string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo
> dnssrv.lo utf-8.lo utf-8-conv.lo
> version.lo ../../libraries/liblber/liblber.la -lkrb5 -lc_r -lssl
> -lcrypto)
> 
> *** Warning: linker path does not have real file for library -lkrb5.
> *** I have the capability to make that library automatically link in
> when *** you link to this library.  But I can only do this if you
> have a *** shared version of the library, which you do not appear to
> have *** because I did check the linker path looking for a file
> starting *** with libkrb5 and none of the candidates passed a file
> format test *** using a file magic. Last file
> checked: /usr/lib/libkrb5.so.3.2
> 
> *** Warning: linker path does not have real file for library -lc_r.
> *** I have the capability to make that library automatically link in
> when *** you link to this library.  But I can only do this if you
> have a *** shared version of the library, which you do not appear to
> have *** because I did check the linker path looking for a file
> starting *** with libc_r and none of the candidates passed a file
> format test *** using a file magic. Last file
> checked: /usr/lib/libkrb5.so.3.2
> 
> *** Warning: linker path does not have real file for library -lssl.
> *** I have the capability to make that library automatically link in
> when *** you link to this library.  But I can only do this if you
> have a *** shared version of the library, which you do not appear to
> have *** because I did check the linker path looking for a file
> starting *** with libssl and none of the candidates passed a file
> format test *** using a file magic. Last file
> checked: /usr/lib/../../lib/libssl.so.0.9.7a
> 
> *** Warning: linker path does not have real file for library -lcrypto.
> *** I have the capability to make that library automatically link in
> when *** you link to this library.  But I can only do this if you
> have a *** shared version of the library, which you do not appear to
> have *** because I did check the linker path looking for a file
> starting *** with libcrypto and none of the candidates passed a file
> format test *** using a file magic. Last file
> checked: /usr/lib/../../lib/libcrypto.so.0.9.7a *** The inter-library
> dependencies that have been dropped here will be *** automatically
> added whenever a program is linked with this library *** or is
> declared to -dlopen
> it. /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/bin/gcc
> -shared  -fPIC -o .libs/libldap_r-2.2.so.7.19  threads.lo rdwr.lo
> tpool.lo rq.lo thr_posix.lo thr_cthreads.lo thr_thr.lo thr_lwp.lo
> thr_nt.lo thr_pth.lo thr_stub.lo bind.lo open.lo result.lo error.lo
> compare.lo search.lo controls.lo messages.lo references.lo
> extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo
> sasl.lo sbind.lo kbind.lo unbind.lo cancel.lo filter.lo free.lo
> sort.lo passwd.lo whoami.lo getdn.lo getentry.lo getattr.lo
> getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo
> vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo
> schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo
> utf-8-conv.lo
> version.lo  /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/lib/liblber.so.7.19
> -Wl,-soname,libldap_r-2.2.so.7.19 -Wl,-R/usr/lib /usr/bin/install -c
> -m
> 644 .libs/libldap_r-2.2.so.7.19T /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib/libldap_r-2.2.so.7.19
> (cd /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
> && rm -f libldap_r.so.7.19 && ln -s libldap_r-2.2.so.7.19
> libldap_r.so.7.19) /usr/bin/install -c -m
> 644 .libs/libldap_r.lai /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib/libldap_r.la /usr/bin/install
> -c -m
> 644 .libs/libldap_r.a /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib/libldap_r.a /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/bin/ranlib
> -t /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib/libldap_r.a
> chmod
> 644 /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib/libldap_r.a
> libtool: install: warning: remember to run `libtool
> --finish /home/andys/src/R3_0_1_rel/openbsd.new/usr/cross/pmonmips/usr/lib' /bin/sh /home/andys/src/R3_0_1_rel/openbsd.new/src/openldap-2.2.26/build-cross/libtool
> --mode=finish /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
> PATH="$PATH:/sbin" ldconfig
> -m /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
> ldconfig: invalid option -- m Try `ldconfig --help' or `ldconfig
> --usage' for more information.
> ----------------------------------------------------------------------
> Libraries have been installed
> in: /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - use the `-Wl,-rpath,LIBDIR' linker flag
>    - have your system administrator run these commands:
>        PATH="$PATH:/sbin" ldconfig
> -m /home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release/usr/lib
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make[4]: Leaving directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries/libldap_r' 
>   Entering subdirectory librewrite
> make[4]: Entering directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries/librewrite'
> make[4]: Nothing to be done for `install'. make[4]: Leaving directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries/librewrite' 
> make[3]: Leaving directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross/libraries' 
> make[2]: Leaving directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/openldap-2.2.26/build-cross'
> cd openbsd.new/src/libxml2-2.6.20/build-cross && \ sudo make install
> DESTDIR=/home/andys/src/R3_0_1_rel/nfx-tree/Build/bc/dbg/Release
> CROSSDIR="" make[2]: Entering directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/libxml2-2.6.20/build-cross'
> cd .. && /bin/sh /mnt/bsd-mipsel/libxml2-2.6.20/missing --run
> automake-1.9 --gnu Makefile.am: required file `./COPYING' not found
> make[2]: *** [../Makefile.in] Error 1 make[2]: Leaving directory
> `/home/andys/src/R3_0_1_rel/openbsd/src/libxml2-2.6.20/build-cross'
> make[1]: *** [bsd-distr-xml2] Error 2 make[1]: Leaving directory
> `/home/andys/src/R3_0_1_rel' make: *** [bsd-release] Error 2
> linux-compile:/home/andys/src/R3_0_1_rel/nfx-tree$ 
> 
