compiling panda3d 1.6.2 with ppremake

ok, I compiled ppremake, run it in dtool directory and generate a Makefile but when running make I get this error:

#
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogate'
#
make[1]: *** No rule to make target `../cppparser/Opt3-Linux/libcppParser.a', needed by `Opt3-Linux/interrogate'.  Stop.
#
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogate'

the ppremake output is this:

[ilcra1989@acheron dtool]$ ppremake
Root is /home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool
Environment variable PPREMAKE_CONFIG not set; using defaults.
Read 18 Sources.pp files.

Configuring support for the following optional third-party packages:
+ OpenSSL
+ libjpeg
+ libpng
+ libtiff
- Did not find libtar
+ fftw
+ squish
+ Nvidia Cg High Level Shading Language
+ Cg OpenGL API
- Did not find Cg DX8 API
- Did not find Cg DX9 API
- Did not find Cg DX10 API
- Did not find VRPN
+ zlib
- Did not find Miles Sound System
+ FMOD Ex sound library
- Did not find gtk+-2
+ Freetype
+ OpenGL
- Did not find DirectX8
- Did not find DirectX9
+ Tinydisplay
+ X11
- Did not find Mesa
+ OpenCV
+ FFMPEG
+ ODE
- Did not find OpenMaya
- Did not find FCollada

Compilation will generate Python interfaces.
Configuring Panda without threading support.

See dtool_config.h for more details about the specified configuration.

No errors.

running in x86-64 linux, any idea what could be going wrong?

The error message is telling you that it didn’t build libcppParser.a, which should have happened earlier in the build process. Were there any error messages earlier? What was the exact make command you were using?

David

cd dtool
ppremake
make

I’m missing some directory?

That’s one possibility. Do you have dtool/src/cppparser? If you don’t that certainly explains the mistake.

If you do have that directory, does it have an Opt3-Linux subdirectory, and does that contain (among other things) libcppParser.a? These files should have been created during the “make” step.

You’re not running some kind of weird parallel make, are you? Try “make -j0”.

David

umn, no files inside Opt3-Linux subdirectory

this is the complete output from make:

[ilcra1989@acheron dtool]$ make -j1
cd ./src/dtoolbase && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dtoolbase'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dtoolbase'
cd ./src/dtoolutil && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dtoolutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dtoolutil'
cd ./metalibs/dtool && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/metalibs/dtool'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/metalibs/dtool'
cd ./src/cppparser && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/cppparser'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/cppparser'
cd ./src/prc && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/prc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/prc'
cd ./src/dconfig && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/dconfig'
cd ./src/interrogatedb && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogatedb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogatedb'
cd ./metalibs/dtoolconfig && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/metalibs/dtoolconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/metalibs/dtoolconfig'
cd ./src/pystub && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/pystub'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/pystub'
cd ./src/interrogate && make all
make[1]: Entering directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogate'
make[1]: *** No rule to make target `../cppparser/Opt3-Linux/libcppParser.a', needed by `Opt3-Linux/interrogate'.  Stop.
make[1]: Leaving directory `/home/ilcra1989/panda3d/src/panda3d-1.6.2/dtool/src/interrogate'
make: *** [interrogate] Error 2

edit: umn, I think I messed up when editing some .pp file, untarred the soures again and now it works.