I think this user's experience demonstrates why I'm not a big fan of pkg-config. On one hand, it means that pkg-config takes over the responsibility of determining which version of and in what location the library exists. But on the other hand, if the .pc file itself is in a non-standard place (as was the case for this user) then pkg-config will erroneously report that the library isn't installed.
I suggest that in instances where pkg-config fails to detect a library, we fall back on the traditional autoconf AC_SEARCH_LIBS method. J' ----- Forwarded message from ?????? <[email protected]> ----- X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on cloacina.cellform.com X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.5 Subject: Re: pspp 0.7.5 can't find the GSL 1.14 lib From: ?????? <[email protected]> To: John Darrington <[email protected]> Cc: [email protected] thank you! it works!! On Fri, Oct 8, 2010 at 4:22 PM, John Darrington < [email protected]> wrote: > You probably need to set your PKG_CONFIG_PATH variable to include > /home/test/local/pkgconfig > or to wherever the gsl.pc file got installed. > > J' > > On Fri, Oct 08, 2010 at 11:44:18AM +0800, ?????? wrote: > hi, all > I have a problem to install pspp 0.7.5 in my debian OS. here are > what i > did: > 1) download the latest version of gsl on ftp://ftp.gnu.org/gnu/gsl/, > should > be 1.14 > 2) run configure with --prefix=/home/test/local ( i'm using the account > "test", and i don't have root permission) > 3) make & make install gsl, it doesn't show any warnings or errors, > seems > work > 4) download the pspp 0.7.5 on http://benpfaff.org/~blp/pspp-master/, > http://benpfaff.org/~blp/pspp-master/latest-src.tar.gz > 5) unzip the pspp 0.7.5 > 6) run configure with > ./configure LDFLAGS='-L/home/test/local/lib -Wl,-rpath > -Wl,/home/test/local/lib' CPPFLAGS='-I/home/test/local/include' > --without-libplot --without-gui --without-cairo > --prefix=/home/test/local > 7) then showing errors > -------------------------------- > configure: error: The following required prerequisites are not > installed. > You must install them before PSPP can be built: > gsl 2.0 version 1.12 or later > -------------------------------- > seems that the pspp can't find the gsl lib 1.14? > but it works if i complie for pspp 0.6.2, with same > LDFLAGS='-L/home/test/local/lib -Wl,-rpath -Wl,/home/test/local/lib' > CPPFLAGS='-I/home/test/local/include' > > i don't know what's wrong with pspp 0.7.5. > > any helps are appreciated. thanks > > best regards, > laoxie > > _______________________________________________ > Pspp-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/pspp-users > > > -- > PGP Public key ID: 1024D/2DE827B3 > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 > See http://pgp.mit.edu or any PGP keyserver for public key. > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iD8DBQFMrtSzimdxnC3oJ7MRAkv3AJ4jVPr9jyyeph6iSlKhtorOpZopbACfVIQl > KQJZUxfKKmprAzauPpKB3vU= > =67kA > -----END PGP SIGNATURE----- > > ----- End forwarded message ----- -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
