libpgjava 7.4.7 source package: missing configure file

Eric Lavarde Eric at Lavar.de
Fri May 19 16:01:34 UTC 2006


Hi Pablo,

I didn't check this specific package, but you should most probably try 
to change to the top directory (must contain a 'debian' directory) and 
from there run the command 'dpkg-buildpackage -rfakeroot', this will 
recreate a package (with the same version, but...), that you should then 
be able to install.

For more details, you could start with 
http://www.us.debian.org/doc/maint-guide/ and continue with 
http://www.us.debian.org/doc/developers-reference/.

The trick is that the packager has possibly foreseen patches (under 
debian/patches) for the package to be able to build under Debian. By 
rebuilding the package, you make sure that all steps and dependencies 
are correct.

Cheers, Eric

Pablo G. Milano wrote:
> Hi,
> I'm unfamiliar with java, but I need to make some modifications to 
> libpgjava 7.4.7 in order to cope with postgres 7.4 BIGINT index issue.
> I downloaded libpgjava source code via "apt-get source". After that, 
> I've read the interfaces/jdbc/README file, in with the following is 
> explained:
>  
> Once you have ANT, run the configure script in the top-level directory with
> the --with-java option.  Then proceed with 'make' and 'make install' as
> usual.  This will compile the correct driver for your JVM, and build a .jar
> file (Java ARchive) called postgresql.jar.  The file will be installed in
> the directory PREFIX/share/java.
> The problem is that there is no such configure script. If i run "ant" 
> directly, the following error arises:
>  
> BUILD FAILED
> /usr/src/libpgjava-7.4.7/src/interfaces/jdbc/build.xml:86: The following 
> error occurred while executing this line:
> /usr/src/libpgjava-7.4.7/src/interfaces/jdbc/build.xml:225: 'major' 
> undefined. Please follow the directions in README.
> Where should I find the configure script?
> Thannks in advance
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pkg-java-maintainers mailing list
> pkg-java-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

-- 
Gewalt ist die letzte Zuflucht der Inkompetenz.
     Violence is the Last Resort of the Incompetent.
         Gwalt jest ostatnem schronieniem niekompetencji.
             La violence est le dernier refuge de l'incompetence.
     ~ Isaac Asimov



More information about the pkg-java-maintainers mailing list