[ptx] Compile Hugin on Ubuntu : Error on compiling libpano

douglas wilkins dgswilkins at yahoo.co.uk
Fri Apr 22 16:51:41 BST 2005


--- Bruno Postle <bruno at postle.net> wrote:
> On Fri 22-Apr-2005 at 08:18 -0600, Rob Park wrote:
> > Bruno Postle wrote:
> > > I'm fairly sure that this is the only package
> you need to
> > > compile libpano12:
> 
> > I'm not sure. I was getting this same error for a
> while too, then I 
> > finally installed something that made it work
> 
> Probably whatever package contains jni.h or adds a
> symlink so that
> configure finds jni.h.
> 
> > Is pano12 written in java? I'm not sure exactly
> what you'd lose
> > from pano12 if you just disabled java...
> 
> The java stuff is so that ptpicker and pteditor can
> use the library.
> 
> You can hack libpano12 without java support, just
> delete all
> references to ptpicker and pteditor from the
> Makefile and delete
> these lines from filter.h and sys_ansi.c:
> 
> Index: filter.h
>
===================================================================
> RCS file: /cvsroot/panotools/libpano/filter.h,v
> retrieving revision 1.10
> diff -r1.10 filter.h
> 90,91d89
> < extern int JavaUI; // Flag to indicate use of java
> dialogs
> < void JPrintError( char* text );
> Index: sys_ansi.c
>
===================================================================
> RCS file: /cvsroot/panotools/libpano/sys_ansi.c,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 sys_ansi.c
> 47,49d46
> <       if( JavaUI ){
> <               JPrintError( message );
> <       }else{
> 52d48
> <       }
> 
> -- 
> Bruno
> 

I have added the --without-java to CVS. Basically
small changes, but I added javastub.c to the CVS so
that I did'nt have to change sys_ansi.c and filter.h.

Paul, if you could send me your config.log so that we
can find out why your java installation is not being
picked up that would be great. By the way, where is
jni.h installed?

regards,
Doug

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the ptX mailing list