configure error: need to define an include path via -I in CPPFLAGS
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > configure error: need to define an include path via -I in CPPFLAGS




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    configure error: need to define an include path via -I in CPPFLAGS  
Derek


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 10:58 PM

Hi,

I need to install a software package on Unix. When I ran
"./configure", I got the following error message:

configure: error: Couldn't find ltdl.h which is required and
part of the libtool distribution.  You probably
need to define an include path via a -I in CPPFLAGS

I know where ltdl.h is, but don't know how to add -I in CPPFLAGS.

Thanks in advance.

Derek





[ Post a follow-up to this message ]



    Re: configure error: need to define an include path via -I in CPPFLAGS  
Lőrinczy Zsigmond


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 10:58 PM

Derek wrote:

> Hi,
>
> I need to install a software package on Unix. When I ran
> "./configure", I got the following error message:
>
> configure: error: Couldn't find ltdl.h which is required and
>                 part of the libtool distribution.  You probably
>                 need to define an include path via a -I in CPPFLAGS
>
> I know where ltdl.h is, but don't know how to add -I in CPPFLAGS.

Perhaps a shell variable will solve this:
export CPPFLAGS=-Isomewhere
./configure





[ Post a follow-up to this message ]



    Re: configure error: need to define an include path via -I in CPPFLAGS  
Mac


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07:51 AM

On Thu, 19 Aug 2004 21:07:14 +0200, Lőrinczy Zsigmond wrote:
> Derek wrote:
> 
>
> Perhaps a shell variable will solve this:
> export CPPFLAGS=-Isomewhere
> ./configure

If you use a cshell type shell, the above syntax won't work. I believe
the correct syntax for setting an environment variable in cshell type
shells is as follows:

setenv CPPFLAGS -I/path/to/ltdl.h
./configure

--Mac






[ Post a follow-up to this message ]



    Re: configure error: need to define an include path via -I in CPPFLAGS  
Fred L. Kleinschmidt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-22-04 11:08 PM



L?rinczy Zsigmond wrote:
>
> Derek wrote:
> 
>
> Perhaps a shell variable will solve this:
> export CPPFLAGS=-Isomewhere
> ./configure

Probably better to keep any old settings:
export CPPFLAGS="$CPPFLAGS -Isomewhere"
and something similar if using csh.

--
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Common User Interface Services
M/S 2R-94  (206)544-5225





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register