[opendbx] Problems generating .deb
Brought to you by:
nose
From: Mariano M. P. <mar...@gm...> - 2008-01-31 03:23:31
|
Hi! First of all, i am happy because i had compiled and installed openDBX for mySQL and postgresql. When i did this, i had 2 questions: 1) I can specify n backends (and the wiki shows me how) but i don't know how to specify n CPPFLAGS and LDFLAGS parametres. I tried a bit, using logic, and i figurated that i have to do this: CPPFLAGS="-I/usr/include/postgresql -I/usr/include/mysql" LDFLAGS="-L/usr/lib/postgresql -L/usr/lib/mysql" ./configure --with-backends="pgsql mysql" I think maybe its a good idea to put an example like this in the wiki. 2) Image i have now postgresql and mysql. And then i want to add oracle. My question is, do i have to recompile and install openDBX with the 3 backends (mySQL, postgresql and oracle) or i can just add oracle? If i can, how? Finally, now i have mysql and postgresql working, i wanted to generate a .deb distribution. So, i installed fakeroot package. When i tried to run the command: fakeroot debian/rules binary i had the error : "make: dh_testdir: Command not found". To get this work, i installed the package debhelper. When i run the command again, i had this error: dh_testdir dh_testroot dh_installman -plibopendbx1 debian/tmp/usr/share/man/man?/* debian/tmp/usr/share/man/man?/*: No such file or directory at /usr/bin/dh_installman line 120, <COMPAT_IN> line 1. make: *** [binary-arch] Error 2 So, do you know what can this problem be? I am using Ubuntu Gutsy Gibbon. Thanks in advance, Mariano |