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

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > August 2004 > configure error: need to define an include path via -I in CPPFLAGS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2004-08-19, 5: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
Lőrinczy Zsigmond

2004-08-19, 5: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
Mac

2004-08-20, 2: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

Fred L. Kleinschmidt

2004-08-22, 6: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com