Got a good Config.pp for 64-bit Debian Sid? Please post it!

Hi all,

I’m having trouble getting my ppremake to use Config.pp to recognize various libs I’ve installed from Debian’s package libraries. Anybody out there willing to share their Config.pp?

Thanks,

Steve

Here’s the one I use for 32-bit Ubuntu. It should at least give you a starting point.

Note that makepanda does do a better job at finding this stuff out automatically, and may be a better choice for the simple task of building Panda. ppremake is usually a better choice for hardcore Panda developers who are likely to be mucking around in individual source directories a lot, and prefer to use a less-monolithic build system using Makefiles.

David

#define BUILD_TYPE unix
#define OPTIMIZE 3

//#define EIGEN_IPATH /home/drose/eigen-eigen-3.0.4
#define PYTHON_IPATH /usr/include/python2.7

#define JPEG_LPATH /usr/lib/i386-linux-gnu
#define PNG_LPATH /usr/lib/i386-linux-gnu
#define TIFF_LPATH /usr/lib/i386-linux-gnu
#define ZLIB_LPATH /usr/lib/i386-linux-gnu

#define HAVE_GTK 1

#define X11_LPATH /usr/lib/i386-linux-gnu

#define GL_IPATH
#define GL_IPATH /usr/lib/i386-linux-gnu
#define GL_LIBS GL
#define HAVE_GL 1

#define OPENSSL_IPATH
#define OPENSSL_LPATH /usr/lib/i386-linux-gnu
#define OPENSSL_LIBS ssl crypto

I usually just start with an empty Config.pp, add some basic instructions like:

// Necessary for 64-bits, not sure if it still is though
#define C++FLAGS -fPIC

#define HAVE_THREADS 1

And then I just run “ppremake” in the dtool directory, look at the list of libraries, and add the _IPATH and _LPATH for the ones I want to my Config.pp, until it finds every library I want to build with support for.

rdb, I was having trouble getting some paths to work, but drwr’s sample did the trick for me.

Thanks, that gave me a good start.

Steve