Hi, I'm trying to compile bacula on debian etch with python support. Debian's python2.5-dev package is installed an I added
--with-python=/usr/lib/python2.5/ to my configure options. At the end of configure I get this status output: Python support: yes -L/usr/include/python2.5//config -lpython -lutil -lrt make fails at some points with an error /usr/bin/g++ -O -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o \ -lacl -lz -lfind -lbac -lm -L/usr/include/python2.5//config -lpython -lutil -lrt -lpthread -ldl \ -lwrap -L/usr/lib//lib -lssl -lcrypto /usr/bin/ld: cannot find -lpython collect2: ld returned 1 exit status make[1]: *** [bacula-fd] Fehler 1 make[1]: Leaving directory `/home/rg/bacula-2.0.1/src/filed' I assume this is because there is no /usr/include/python2.5/config ls -l /usr/include/python2.5/ insgesamt 572 -rw-r--r-- 1 root root 38971 2006-12-09 15:33 abstract.h -rw-r--r-- 1 root root 1099 2006-12-09 15:33 asdl.h -rw-r--r-- 1 root root 230 2006-12-09 15:33 ast.h -rw-r--r-- 1 root root 792 2006-12-09 15:33 bitset.h -rw-r--r-- 1 root root 914 2006-12-09 15:33 boolobject.h -rw-r--r-- 1 root root 924 2006-12-09 15:33 bufferobject.h -rw-r--r-- 1 root root 653 2006-12-09 15:33 cellobject.h -rw-r--r-- 1 root root 4944 2006-12-09 15:33 ceval.h -rw-r--r-- 1 root root 2893 2006-12-09 15:33 classobject.h -rw-r--r-- 1 root root 1763 2006-12-09 15:33 cobject.h -rw-r--r-- 1 root root 5014 2006-12-09 15:33 codecs.h -rw-r--r-- 1 root root 3277 2006-12-09 15:33 code.h -rw-r--r-- 1 root root 1058 2006-12-09 15:33 compile.h -rw-r--r-- 1 root root 1476 2006-12-09 15:33 complexobject.h -rw-r--r-- 1 root root 2005 2006-12-09 15:33 cStringIO.h -rw-r--r-- 1 root root 8288 2006-12-09 15:33 datetime.h [...] I found a config directory in /usr/lib/python2.5/ ls -l /usr/lib/python2.5/config/ insgesamt 5296 -rw-r--r-- 1 root root 2079 2006-12-09 15:33 config.c -rw-r--r-- 1 root root 1446 2006-12-09 15:33 config.c.in -rwxr-xr-x 1 root root 7122 2006-12-09 15:33 install-sh [...] Debian seems to put some files on different locations. I already tried some compiler options, but couldn't get bacula to compile with python support yet. Any idea what I have to change? Ralf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users