Closed Bug 270364 Opened 20 years ago Closed 20 years ago

[gtk2] build process stops at the beginning of configure part :[

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: fredbezies, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.5) Gecko/20041116 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.5) Gecko/20041116 Firefox/1.0

It could be related in some way to bug 263493.

When I try to build a mozilla with gtk2 and xft, I cannot get it to go further
than gtk detection part.

Every time it stops, saying :

checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found.
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.

The weird point is that I build one hour before an aviary thunderbird based with
gtk2+xft

Reproducible: Always
Steps to Reproduce:
1.Have a clean source and keep it up to date
2.use .mozconfig with gtk2 and xft enabled
3.make -f client.mk build

Actual Results:  
Error message like in description

Expected Results:  
building ?

Here is my .mozconfig :

ac_add_options --enable-optimize='-Os -march=pentium4 -pipe'

ac_add_options --enable-static
ac_add_options --disable-shared

ac_add_options --disable-debug
ac_add_options --disable-tests

ac_add_options --enable-xft
ac_add_options --enable-default-tookit=gtk2

ac_add_options --disable-auto-deps
ac_add_options --enable-crypto
ac_add_options --enable-extensions=default,irc,tasks

ac_add_options --without-system-jpg
ac_add_options --without-system-zlib

Nearly the same I use for building thunderbird.

Using a fully up-to-date fedora core 3 with all gtk2 development package added.
A just updated the trunk and tried to configure and build with gtk2. It works.

The errors look like the .mozconfig options are not being used and the default
gtk is being used.
I tried again, verifying my .mozconfig is in the source directory, and still the
bug :[

What's going on ?
WFM

Make you --enable-optimize with double quotes ("). Or leave it out.

Are you sure your tree is clean and up to date with the trunk?
Clean and young enough ? I get it through CVS this morning...

And my last make -f client.mk checkout :

[fred@localhost mozilla]$ make -f client.mk checkout
checkout start: mer nov 17 14:11:02 CET 2004
cvs -q -z 3 co -P  mozilla/client.mk mozilla/build/unix/modules.mk
mozilla/build/unix/uniq.pl
make[1]: Entering directory `/home/fred/logs/moz'
cvs -q -z 3 co -P -r NSPRPUB_PRE_4_2_CLIENT_BRANCH mozilla/nsprpub
cvs -q -z 3 co -P -r NSS_CLIENT_TAG mozilla/security/nss mozilla/security/coreconf
cvs -q -z 3 co -P -A mozilla/security/manager
cvs -q -z 3 co -P -r ldapcsdk_50_client_branch mozilla/directory/c-sdk
cvs -q -z 3 co -P mozilla/accessible
cvs -q -z 3 co -P mozilla/modules/libpr0n
cvs -q -z 3 co -P -A mozilla/ipc/ipcd
cvs -q -z 3 co -P mozilla/calendar mozilla/other-licenses/libical
cvs -q -z 3 co -P mozilla/toolkit mozilla/chrome mozilla/xulrunner
cvs -q -z 3 co -P SeaMonkeyAll
checkout finish: mer nov 17 14:12:13 CET 2004
make[1]: Leaving directory `/home/fred/logs/moz'

So ? :)

I will try removing optimization line and see what happens when I tape make -f
client.mk build...
Removing optimization line changed nothing ; I try to remove also
"ac_add_options --disable-auto-deps" or to replace ' by " in optimization lines
: nothing too.

When I look at trunk checkins, the last time ./configure was modified is when
XTF was added to build options...

2004-11-15 17:33	cltbld 	mozilla/ configure 	1.1355 	5/5  	Automated update from
host egg
2004-11-15 17:30	bryner%brianryner.com 	mozilla/ configure.in 	1.1379 	4/4  
Enable XTF in default builds (bug 269859). r=jst, sr=brendan.

Could he be related ?

I can't say because I installed my fedora 3 only yesterday and I was under
Windows XP before...

Just guessing, of course :)

The weird point is that configure is checking for gtk1 development files and I
want a gtk2 mozilla...
Well, my .mozconfig looks like buggy somewhere :(

I tried with some official options and some homemade :

ac_add_options --disable-tests 
ac_add_options --enable-extensions=default,irc,tasks,negotiateauth 
ac_add_options --without-system-nspr 
ac_add_options --without-system-jpeg 
ac_add_options --without-system-zlib 
ac_add_options --without-system-png 
ac_add_options --without-system-mng 
ac_add_options --disable-debug 
ac_add_options --enable-crypto
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2

# own settings with static

ac_add_options --enable-optimize='-Os -march=pentium4 -pipe'
ac_add_options --disable-auto-deps
ac_add_options --enable-static
ac_add_options --disable-shared

And it seems to work. I don't understand what was happening :(

Sorry for the bugreport. Closing it as INVALID, because I used a bad written
.mozconfig :(
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
> ac_add_options --enable-default-tookit=gtk2

The problem is because of this typo.  It should be 'toolkit' not 'tookit' .



Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.