Opened 11 years ago
Closed 11 years ago
#4622 closed Bug (fixed)
Misleading error message in configure script
Reported by: | oh_noes | Owned by: | jordan |
---|---|---|---|
Priority: | Normal | Milestone: | 2.50 |
Component: | Transmission | Version: | 2.42 |
Severity: | Normal | Keywords: | backport-2.4x |
Cc: |
Description
On the following OS:
# uname -a SunOS hostname 5.11 151.0.1.8 i86pc i386 i86pc Solaris # cat /etc/release Oracle Solaris 11 Express snv_151a X86 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled 04 November 2010
Using the below:
CFLAGS='-L/usr/local/libevent/lib -R/usr/local/libevent/lib -std=gnu99' \ CPPFLAGS='-I/usr/local/libevent/include -I/usr/local/curl/include' \ LIBCURL_CFLAGS='-I/usr/local/curl/include' \ LIBCURL_LIBS='-L/usr/local/curl/lib -lcurl -lidn -lssl -lcrypto -lldap -lsocket -lnsl -lz' \ LIBEVENT_CFLAGS='-I/usr/local/libevent/include' \ LIBEVENT_LIBS='-L/usr/local/libevent/lib -R/usr/local/libevent/lib -levent -lrt' \ ./configure --prefix=/usr/local/transmission --enable-daemon --enable-cli --disable-nls --disable-mac --disable-gtk --with-zlib="/usr/local/lib" --with-zlib-includes="/usr/local/include" make make install
transmission-2.33 works without a problem. I also had no problems configuration or compiling previous versions to this.
Since 2.42, it no longer works. transmission-2.42 fails with the following error:
configure: error: "The gtk client cannot be built without nls support. Try adding either --enable-nls or --disable-gtk"
This in incorrect behaviour. As you can see, I am passing in --disable-gtk. Removing --disable-nls allows it to continue, but then it fails with another error. Because I'm passing in LIBCURL_ and LIBEVENT_ it shouldn't be checking for intltool.
checking for intltool >= 0.35.0... ./configure: line 18401: intltool-update: not found found configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
config.log for both attached.
Attachments (2)
Change History (6)
Changed 11 years ago by oh_noes
Changed 11 years ago by oh_noes
comment:1 Changed 11 years ago by rb07
comment:2 Changed 11 years ago by oh_noes
Thank you. Using --without-gtk worked with a problem.
What threw me off was the error message:
configure: error: "The gtk client cannot be built without nls support. Try adding either --enable-nls or --disable-gtk"
This error message should be replaced to say --without-gtk. If this was the case I would have noticed it quicker.
comment:3 Changed 11 years ago by jordan
- Keywords backport-2.4x added
- Milestone changed from None Set to 2.50
- Owner set to jordan
- Status changed from new to assigned
- Summary changed from Configure errors on Solaris 11 x86 in 2.42 to Misleading error message in configure script
comment:4 Changed 11 years ago by jordan
- Resolution set to fixed
- Status changed from assigned to closed
I've fixed the error message in r13079. :)
The configure option changed from --disable-gtk to --without-gtk.
I don't know if this was documented somewhere, but ./configure --help does show it and at the top of the messages there's usually an "unknown option --disable-gtk".