Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

installing module but both /usr/include and /usr/pkg/include used

by sachss (Sexton)
on Mar 08, 2013 at 02:31 UTC ( #1022331=perlquestion: print w/replies, xml ) Need Help??

sachss has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to install a Perl module locally, on a machine I don't have admin rights too. Unfortunately, when I try "cpanm <Module>" I run into the error

/usr/pkg/include/pthread.h:285: error: conflicting types for 'pthread_ +t' /usr/include/pthread_types.h:71: error: previous declaration of 'pthre +ad_t' was here /usr/pkg/include/pthread.h:286: error: conflicting types for 'pthread_ +attr_t' /usr/include/pthread_types.h:72: error: previous declaration of 'pthre +ad_attr_t'' was here ... *** Error Code 1 Stop.

So how do I tell cpanm (or anything else) to use either /usr/include or /usr/pkg/include but not both?

Replies are listed 'Best First'.
Re: installing module but both /usr/include and /usr/pkg/include used
by Anonymous Monk on Mar 08, 2013 at 02:42 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-06-29 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?