Re: glib-rc1-2.0.0 make fails on AIX
- From: Miroslaw Dobrzanski-Neumann <mne mosaic-ag com>
- To: GTKDEV <gtk-devel-list gnome org>
- Subject: Re: glib-rc1-2.0.0 make fails on AIX
- Date: Thu, 7 Mar 2002 09:20:51 +0100
On Wed, Mar 06, 2002 at 11:14:25AM -0500, Owen Taylor wrote:
>
> Miroslaw Dobrzanski-Neumann <mne mosaic-ag com> writes:
>
> > AIX 4.3.3 native make (not gmake)
> > configured with
> > $ ./configure --prefix=<my prefix path>
> >
> > glib-rc1-2.0.0/docs/reference/glib/Makefile
> > 353
> > 354 #all-local: html-build.stamp
> > 355
> > all-local is commented out
> >
> > $ make
> > Making all in glib
> > make: 1254-002 Cannot find a rule to create target all-local from dependencies.
>
> Does it work if you use gmake?
> - The one above
yes, gmake has no problems with it
BTW the same for atk
BTW the same for pango
BTW the same for gtk
> I know of two problems that have been reported with non-GNU make:
> - The @STRIP_BEGIN@ @STRIP_END@ stuff in the GTK+ makefiles.
neither make nor gmake has reported any problems with it
automake 1.5 has problems with these two (@STRIP_BEGIN@ @STRIP_END@) (Warnings)
There some other problems automake 1.5 reports for glib. Best you try it
yourself.
problems in pango:
pango/Makefile.am
libpango_1_0_la_LDFLAGS includes $(GLIB_LIBS)
libpango_1_0_la_LIBADD = mini-fribidi/libmini-fribidi.la
the problem is mini-fribidi/libmini-fribidi.la is linked after $(GLIB_LIBS)
you should probable set GLOBAL LIBS to $(GLIB_LIBS) i.e.
LIBS = $(GLIB_LIBS) @LIBS@
fribidi extra objects are linked twice (currently I do not know why)
problems in gtk:
-lpango/-lpangox are linked after glib libraries this can cause some problems
the current linkorder an example:
-lgtk-x11-2.0 -latk-1.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lpango-1.0 -lpangox-1.0 -lm -lintl
should be something like
-lgtk-x11-2.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lm
gtk+ can not be build from scratch on AIX for the following reasons:
* libtool inisits on directly libc linking. To prevent it from doing so edit
libtool in each package after configure has been run and set the following
variable to "no"
build_libtool_need_lc=no
* you should download and build gettext-0.11.1 applying the following patch
libtool should be modified as well
the patch an ugly typo:
replace
allow_undefined_flag='${wl}-berok"
with
allow_undefined_flag='${wl}-berok'
at least in configure and at your option in m4/libtool.m4
look in all Makefiles.am for -lc and remove it
anyway.
it builds with one problem
demos/Makefile.am contains
GDK_PIXBUF_MODULEDIR=$$topdir/gdk-pixbuf/.libs
should be
GDK_PIXBUF_MODULEDIR=$$topdir/gdk-pixbuf
the second one is the already reported "==" in pango configure
The build environment:
powerpc-ibm-aix4.3.3.0
CC=xlc_r
CXX=xlC_r
Regards
--
Miroslaw Dobrzanski-Neumann
MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: mne mosaic-ag com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]