Re: Compiling gtk error - png ???



> 
> > I had this problem on HPUX 11.00 and 11.20(akaIA64). 
>  
> Actually, the current IA64/IPF HP-UX release is 11.22 - aka 11i v 1.6 :)

I know, We normally build on 11.20 and test the binary on 11.22 also. %99 it
works.

>  
> > Solution (works for me).
> > If your system is supporting "dynamic loading" you better off using dynamic
> > loading instead of static one. The dynamic loading is certainly supported on
> > HPUX 11.00 and 11i and I managed to compile gtk on HPUX-11.00.
> >
> > But if your system doesn't support dynamic loading, configure gtk
> > with static loading and make sure you specify which module you
> > want. I chose png, jpeg, tiff and xpm. You can add any more if you
> > wish to. I chose is method on HPUX 11.20 (IA64) and it works
> > perfect.
>  
> Did you have to use any explicit configure flags for the enablement of
> dynamic loading?  I've been (naively it seems) doing ./configure in
> all the deps, and then setting CFLAGS and LDFLAGS for the ./configure
> of gtk itself.

No, The configure checks for dynamic loading. But in 11.20 I explicitly
used --disable-modules and --with-included-loaders=png, jpeg, tiff, xpm
option. BUT I had to hack the configure ALOT to get the things going.
I 've got the binary and source ready in:

http://hpux.connect.org.uk/hppd/hpux/Gtk/Development/gtk+2-2.2.1/

We (HPUX Archive) used to use "/opt" directory. That was hard. Now we have
switched to "/usr/local", It is alot easier.


>  
> > I am using glib-2.2.1 and gcc-3.2 0n HPUX-11.00 and gcc-3.00 on
> > HPUX-11.20.
>  
> Hmm, I hope it isn't an HP ANSI C vs gcc thing. That would be most
> unfortunate.

No I don't think so. Although I haven't compile with HP cc, But I don't think
that is the case.



			__Mehdi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]