Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Clear questions and runnable code
get the best and fastest answer

Can't link/include GMP

by perlwinky (Initiate)
on Apr 24, 2014 at 10:35 UTC ( #1083558=perlquestion: print w/ replies, xml ) Need Help??
perlwinky has asked for the wisdom of the Perl Monks concerning the following question:

Hello everybody, From last few weeks I have been trying really hard to get PBC installed in CYGWIN but failing to do so. I am a beginner in this area and really confused about the installation process. I have used CPAN to install Crypt::PBC after installing all of its dependencies like Math::BigInt, Math::BigInt::GMP, MIME::Base64, ExtUtils::MakeMaker, XSLoader, Devel::Checklib and now while I'm installing PBC it prompted me to download the tarball from "" website but apparently the PBC file was not getting downloaded and unpacked. So i changed the code to request for the tarball. Now i get to unpack properly but while building it I'm facing a problem where it "Can't link/include GMP". I have installed GMP related files but still the error pops up. I would be immensely grateful if you could help me out with this. Thank you.

Comment on Can't link/include GMP
Re: Can't link/include GMP
by Anonymous Monk on Apr 24, 2014 at 10:55 UTC

    What are the paths of installed gmp files? What paths does make/install process output show while searching for gmp files?

      The makefile searches for gmp in the following paths: /usr/include/pbc /usr/local/include/pbc /usr/include /usr/local/include /lib/openssl-1.0.1/engine (this I appended in the INC because my file resides here) /lib And there are a loads of GMP files lying all around the cygwin64 folder. What gmp files are actually required?

        I cannot answer the question about the files required. You should be able to find that out by reading Makefile and any other files of the module.

        *sigh* To make the question explicit asked earlier, do the installed gmp files exist in the paths that are searched during the make/compile process?

        Also to explicitly note, if answer to above is no for any of the files, then you would need to specify the actual gmp file paths, via command line/environment variables and/or by editing Makefile.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1083558]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-04-24 11:21 GMT
Find Nodes?
    Voting Booth?

    April first is:

    Results (565 votes), past polls