From: M. Lavasani <lavasani@co...> - 2002-05-20 15:18:55
> > I am trying to compile Mesa-4.0.2 on HPUX version 11.00 using
> > gcc-3.0.4 and
> > gmake version 3.79.1.
> > I got the following build error:
> > gmake: Entering directory
> > `/home/lavasani/Mesa-4.0.2/si-glu/libnurbs/nurbtess'
> > /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H
> > -I. -I. -I../../.. -I../../include -I../../../include
> > -I/usr/contrib/X11R6/include -g -O2 -c directedLine.cc
> > rm -f .libs/directedLine.lo
> > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include
> > -I../../../include -I/usr/contrib/X11R6/include -g -O2
> > -Wp,-MD,.deps/directedLine.pp -c directedLine.cc -fPIC -DPIC
> > -o directedLine.o
> > .deps/directedLine.pp: No such file or directory
> > Any idea how to build "directedLine.pp"? There is no rule in
> > ./si-glu/libnurbs/nurbtessMakefile to build that.
> > Thanks
> > __Mehdi
> There are a couple of things going on here:
> 1) You're using the libtool/automake system, which seems to work pretty well
> on Linux systems but perhaps not as well as some others. The config files
> probably need some work to get it going on your OS. Another alternative is
> to use the "old style" makefiles. Look at Makefile.X11.
I 've been porting software for HPUX for sometimes now. Most of
time, "configure" system works fine.
> 2) There are two versions of the GLU library in the distribution. The newer
> (and better) one is partly written in C++ which requires a little bit more
> work on the makefiles and config files for both make systems. You can
> change the makefiles in either system to build the old GLU (src-glu) to
> avoid the problem, or tweak the makefiles to build the new GLU (si-glu) C++
> file successfully. If you still have trouble with the C++ code, a
> last-ditch approach is to just not compile the C++ code, which are the NURBS
> utils that you may not need.
> I build Mesa on HPUX 11 with the "old" makefile (Makefile.X11).
I did build Mesa-4.0 using "configure" system. It compiled fine. Even I can
build 4.0.2 using "configure" system, But only If I use HP's make, If I use
Gnu make I get the above error. But with HP's make, it compiles fine.
HP make will ignores the ".deps/*" files. But Gnu make will try to use
".deps/*" file to compile the program.
Get latest updates about Open Source Projects, Conferences and News.