[pcre-dev] Console output of make install

Etusivu
Poista viesti
Lähettäjä: Sheri
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] Console output of make install
Note the errors. Also nothing was "installed" for posix wrapper or
documentation.

Strangely the dll files (from .libs subdir of the build directory)
"seem" to be working. pcretest tests work and our application test suite
works. A few simple new tests I ran in our application worked.

I'm going to try building with --disable-static and see what happens.

Regards,
Sheri

$ make install
/bin/sh ./libtool --tag=CC --mode=link gcc -O3 -s -o pcretest.exe
pcretest.o libpcreposix.la
gcc -O3 -s -o .libs/pcretest.exe pcretest.o ./.libs/libpcreposix.dll.a
/c/pcre-7.4/rebuildrc2nocpp/.libs/libpcre.dll.a
-L/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib
creating pcretest.exe
/bin/sh ./libtool --tag=CC --mode=link gcc -O3 -s -o pcregrep.exe
pcregrep.o libpcreposix.la
gcc -O3 -s -o .libs/pcregrep.exe pcregrep.o ./.libs/libpcreposix.dll.a
/c/pcre-7.4/rebuildrc2nocpp/.libs/libpcre.dll.a
-L/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib
creating pcregrep.exe
/bin/sh ./libtool --tag=CC --mode=link gcc -O3 -s -o pcredemo.exe
pcredemo.o libpcre.la
gcc -O3 -s -o .libs/pcredemo.exe pcredemo.o ./.libs/libpcre.dll.a
-L/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib
creating pcredemo.exe
make[1]: Entering directory `/c/pcre-7.4/rebuildrc2nocpp'
test -z "/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib" || /bin/mkdir -p
"/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib"
/bin/sh ./libtool --mode=install /bin/install -c 'libpcre.la'
'/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.la'
/bin/install -c .libs/libpcre.dll.a
/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.dll.a
base_file=`basename ${file}`
dlpath=`/bin/sh 2>&1 -c '. .libs/'${base_file}'i;echo $dlname'`
dldir=/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/`dirname $dlpath`
test -d $dldir || mkdir -p $dldir
/bin/install -c .libs/libpcre-0.dll $dldir/libpcre-0.dll
chmod a+x $dldir/libpcre-0.dll
/bin/install -c .libs/libpcre.lai
/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.la
/bin/install -c .libs/libpcre.a
/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.a
chmod 644 /c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.a
ranlib /c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcre.a
----------------------------------------------------------------------
Libraries have been installed in:
/c/pcre-7.4/rebuildrc2nocpp/../prefix/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 `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./libtool --mode=install /bin/install -c 'libpcreposix.la'
'/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcreposix.la'
libtool: install: warning: relinking `libpcreposix.la'
(cd /c/pcre-7.4/rebuildrc2nocpp; /bin/sh ./libtool --tag=CC
--mode=relink gcc -O3 -s -no-undefined -version-info 0:0:0 -o
libpcreposix.la -rpath /c/pcre-7.4/rebuildrc2nocpp/../prefix/lib
pcreposix.lo libpcre.la )

*** Warning: linker path does not have real file for library -lpcre.
*** 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 libpcre and none of the candidates passed a file format test
*** using a file magic. Last file checked: ./libpcre.pc
*** 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.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
ar cru .libs/libpcreposix.a pcreposix.o
ranlib .libs/libpcreposix.a
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && cp -p ../libpcreposix.la
libpcreposix.la)
/bin/install -c .libs/libpcreposix.dll.aT
/c/pcre-7.4/rebuildrc2nocpp/../prefix/lib/libpcreposix.dll.a
/bin/install: cannot stat `.libs/libpcreposix.dll.aT': No such file or
directory
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/c/pcre-7.4/rebuildrc2nocpp'
make: *** [install-am] Error 2

Sheri@XXX-XXXXXXXXXX /c/pcre-7.4/rebuildrc2nocpp
$ cd ../prefix

Sheri@XXX-XXXXXXXXXX /c/pcre-7.4/prefix
$ ls -R
.:
bin lib

./bin:
libpcre-0.dll

./lib:
libpcre.a libpcre.dll.a libpcre.la

Sheri@XXX-XXXXXXXXXX /c/pcre-7.4/prefix
$