Re: [anjuta-list] Strange compiling behaviour



On Sat, 09 Feb 2013 09:14:25 +0100
Sébastien Granjoux <seb sfo free fr> wrote:

> Hi John,
> 
> 
> Le 09/02/2013 06:12, John Coppens a écrit :
> > I had made a (tar.gz) package which I sent to remote PC and unpacked there.
> > ./configure went fine - no problems at all. But when compiling, the first
> > file to be compiled threw 'cannot find gtk/gtk.h'. Strange because the gtk.h's
> > for 1.2, 2.0 and 3.0 are all installed and repond to pkg-config correctly.
> > Can anyone suggest where to look?
> 
> What are you looking for? Understanding why you get an error only at 
> compile time? or Compiling your program on the other machine?

Yes, I am trying to compile the program on the other machine.

> I think a difference in the shell could explain this behavior. Another 
> idea would be to compare the configure script and Makefiles on both 
> machines.

No difference in the bash shell. All 3 machines have the same version.
The Makefiles are different - on the failing remote machine, the Makefile does not
include the -I's and -l's normally generated by the pkg-config commands.
The other remote machine works fine.

> Then, are you able to compile the program if you fix the configure 
> script and install the missing packages or is there something else?

Yes, after installing the missing packages, detected manually, compilation
is perfect.

So: It is as if configure detects everything is in order,
but does not generate the correct Makefiles

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]