Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally

by bowei_99 (Friar)
on Mar 15, 2006 at 15:40 UTC ( [id://536845]=note: print w/replies, xml ) Need Help??


in reply to Re: Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally
in thread Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally

Actually, since those variables should already be defined, according to your earlier posts, all you should need to type is
perl Makefile.PL $CFLAGS $LDFLAGS
To make sure the variables are set correctly you can type
printenv | grep FLAGS
If they aren't set correctly, you can run the export command in an earlier posting to fix it.

Also, if you don't want to sit around and wait (although for troubleshooting purposes, it's probably better to do so), you can type

perl Makefile.PL $CFLAGS $LDFLAGS && make && make test && make install
The && means that the command will only execute if the previous one was OK.

-- Burvil

Replies are listed 'Best First'.
Re^3: Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally
by fizbin (Chaplain) on Mar 15, 2006 at 15:45 UTC
    I think you meant
    perl Makefile.PL "CFLAGS=$CFLAGS"
    etc.

    But in any case, this doesn't matter, since Makefile.PL doesn't accept CFLAGS or LDFLAGS as arguments.

    --
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/
      Yeah, I realized that, too. I guess if the poster wanted those variables set when he runs make, he'd have to edit the Makefile directly, then run make ...

      -- Burvil

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://536845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-25 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found