l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Mar 09 17:58

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] (Moved from [vox]) Errors in software compilation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] (Moved from [vox]) Errors in software compilation

Hi Dylan.  This kind of question actually belongs over here on vox-tech,
so I've replied here, instead of plain 'vox'...

On Wed, Mar 09, 2005 at 03:30:13PM -0800, Dylan Beaudette wrote:
> Hi everyone,
> I am using a software package called GDAL here at work, and it compiles fine 
> on my Debian Sarge box... However, the *same* source tree fails to compile on
> a similar machine running Slackware...

On your Sarge box, do you have "cpl_port.h" and/or "cpl_error.h" anywhere
else, besides the 'gdal' build directory?

> g++     -c -o gdalopen.o gdalopen.cpp
> In file included from gdal_priv.h:190,
>                  from gdalopen.cpp:94:
> gdal.h:177:22: cpl_port.h: No such file or directory
> gdal.h:178:23: cpl_error.h: No such file or directory

> however:
> dylan@atmweb:~/src/gdal-1.2.5$ locate cpl_port
> /home/dylan/src/gdal-1.2.5/port/cpl_port.h

The command invoked above was simply "g++ -c -o ...".
There were no -I include path directives given.
Is this different than on your Sarge box?

Also, can you tell (by examining the entire "make" sequence up to this
point) whether Make had dove into the "port/" subdirectory?  If it was
compiling something in the directory above (or some other subdirectory),
then it almost certainly wouldn't be able to find the "cpl_port.h" header.

Sorry I can't help more!

bill@newbreedsoftware.com         "I'm anticipating an all-out tactical
http://newbreedsoftware.com/      dog-fight, followed by a light dinner."
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.