[pcre-dev] Msys output from Make Install (following configur…

Page principale
Supprimer ce message
Auteur: Sheri
Date:  
À: pcre-dev
Sujet: [pcre-dev] Msys output from Make Install (following configure / make)
This output suggests something is wrong with the shared libraries. There
is also a missing file for pcrecpp (see the end).

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.4Patch/buildRC3Msys/.libs/libpcre.dll.a
-L/c/pcre-7.4Patch/buildRC3Msys/../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.4Patch/buildRC3Msys/.libs/libpcre.dll.a
-L/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib
creating pcregrep.exe
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -o
pcrecpp_unittest.exe pcrecpp_unittest.o libpcrecpp.la
g++ -O2 -o .libs/pcrecpp_unittest.exe pcrecpp_unittest.o
./.libs/libpcrecpp.dll.a
/c/pcre-7.4Patch/buildRC3Msys/.libs/libpcre.dll.a
-L/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib
creating pcrecpp_unittest.exe
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -o
pcre_scanner_unittest.exe pcre_scanner_unittest.o libpcrecpp.la
g++ -O2 -o .libs/pcre_scanner_unittest.exe pcre_scanner_unittest.o
./.libs/libpcrecpp.dll.a
/c/pcre-7.4Patch/buildRC3Msys/.libs/libpcre.dll.a
-L/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib
creating pcre_scanner_unittest.exe
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -o
pcre_stringpiece_unittest.exe pcre_stringpiece_unittest.o libpcrecpp.la
g++ -O2 -o .libs/pcre_stringpiece_unittest.exe
pcre_stringpiece_unittest.o ./.libs/libpcrecpp.dll.a
/c/pcre-7.4Patch/buildRC3Msys/.libs/libpcre.dll.a
-L/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib
creating pcre_stringpiece_unittest.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.4Patch/buildRC3Msys/../prefix/lib
creating pcredemo.exe
make[1]: Entering directory `/c/pcre-7.4Patch/buildRC3Msys'
test -z "/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib" || /bin/mkdir -p
"/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib"
/bin/sh ./libtool --mode=install /bin/install -c 'libpcre.la'
'/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcre.la'
/bin/install -c .libs/libpcre.dll.a
/c/pcre-7.4Patch/buildRC3Msys/../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.4Patch/buildRC3Msys/../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.4Patch/buildRC3Msys/../prefix/lib/libpcre.la
/bin/install -c .libs/libpcre.a
/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcre.a
chmod 644 /c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcre.a
ranlib /c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcre.a
----------------------------------------------------------------------
Libraries have been installed in:
/c/pcre-7.4Patch/buildRC3Msys/../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.4Patch/buildRC3Msys/../prefix/lib/libpcreposix.la'
libtool: install: warning: relinking `libpcreposix.la'
(cd /c/pcre-7.4Patch/buildRC3Msys; /bin/sh ./libtool --tag=CC
--mode=relink gcc -O3 -s -no-undefined -version-info 0:0:0 -o
libpcreposix.la -rpath /c/pcre-7.4Patch/buildRC3Msys/../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.4Patch/buildRC3Msys/../prefix/lib/libpcreposix.dll.a
/bin/install: cannot stat `.libs/libpcreposix.dll.aT': No such file or
directory
/bin/sh ./libtool --mode=install /bin/install -c 'libpcrecpp.la'
'/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcrecpp.la'
libtool: install: warning: relinking `libpcrecpp.la'
(cd /c/pcre-7.4Patch/buildRC3Msys; /bin/sh ./libtool --tag=CXX
--mode=relink g++ -O2 -no-undefined -Wl,--export-all-symbols
-version-info 0:0:0 -o libpcrecpp.la -rpath
/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib pcrecpp.lo pcre_scanner.lo
pcre_stringpiece.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/libpcrecpp.a pcrecpp.o pcre_scanner.o pcre_stringpiece.o
ranlib .libs/libpcrecpp.a
creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && cp -p ../libpcrecpp.la libpcrecpp.la)
/bin/install -c .libs/libpcrecpp.dll.aT
/c/pcre-7.4Patch/buildRC3Msys/../prefix/lib/libpcrecpp.dll.a
/bin/install: cannot stat `.libs/libpcrecpp.dll.aT': No such file or
directory
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/c/pcre-7.4Patch/buildRC3Msys'
make: *** [install-am] Error 2