Opened 11 years ago

Closed 11 years ago

#3883 closed Bug (invalid)

GTK version check fails ./configure even with -disable-gtk

Reported by: oh_noes Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.13+
Severity: Normal Keywords:
Cc:

Description

Building a headless Solaris 10 Client with the following command:

CFLAGS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib -D__EXTENSIONS__" \
CPPFLAGS="-I/usr/local/include" \
LIBEVENT_LIBS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib -levent -lrt" \
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \
LIBCURL_CFLAGS="-I/usr/local/include" \
LIBCURL_LIBS="-L/usr/local/lib -lcurl -lidn -lssl -lcrypto -lrt -lsocket -lnsl -lsocket -lnsl -ldl -lz -lssh2 -lsocket" \
./configure --prefix=/usr/local/transmission-beta --enable-daemon --enable-cli --disable-nls --disable-gtk  --with-zlib="/usr/local/lib" --with-zlib-includes="/usr/local/include"

I would expect because I'm passing in --disable-gtk and --enable-daemon, that it shouldn't fail ./configure if minimum versions are not satisfied.

It works in 2.13.

It fails in 2.0x-linux.

configure: Using user-specified LIBEVENT_LIBS and LIBEVENT_CFLAGS
checking for GTK... Requested 'gtk+-2.0 >= 2.6.0' but version of GTK+ is 2.4.9
no
checking host system type... (cached) i386-pc-solaris2.10
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: transmission.spec.in
configure: Using user-specified LIBEVENT_LIBS and LIBEVENT_CFLAGS
checking for GTK... Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.4.1
no
checking host system type... (cached) i386-pc-solaris2.10
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: transmission.spec.in

Manually modifying configure GTK_MINIMUM and GLIB_MINIMUM is a work-around.

Attachments (2)

config.log (100.7 KB) - added by oh_noes 11 years ago.
config.log attached
r11648-config.log (107.1 KB) - added by oh_noes 11 years ago.
r11648 config.log

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by oh_noes

config.log attached

comment:1 Changed 11 years ago by oh_noes

I might be slightly confused on the actual problem here. Looking at this a bit further, I might be getting confused that because GTK is the last thing that checks.

The end result is, ./configure no longer works on Solaris 10.

transmission-2.13 worked without a problem. 2.0x-linux and trunk-linux no longer ./configure.

Below is the output trying to ./configure trunk (2.13+ -- r11648):

# CFLAGS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib -D__EXTENSIONS__" \
> CPPFLAGS="-I/usr/local/include" \
> LIBEVENT_LIBS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib -levent -lrt" \
> LIBEVENT_CFLAGS="-I/usr/local/libevent/include" \
> LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \
> LIBCURL_CFLAGS="-I/usr/local/include" \
> LIBCURL_LIBS="-L/usr/local/lib -lcurl -lidn -lssl -lcrypto -lrt -lsocket -lnsl -lsocket -lnsl -ldl -lz -lssh2 -lsocket" \
> ./configure --prefix=/usr/local/transmission-trunk --enable-daemon --enable-cli --disable-nls --disable-gtk --disable-mac --with-zlib="/usr/local/lib" --with-zlib-includes="/usr/local/include"
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... plaintar
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 786240
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for inline... inline
checking gcc version... 3.4.6
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for iconv_open... yes
checking for pread... yes
checking for pwrite... yes
checking for lrintf... no
checking for strlcpy... yes
checking for daemon... no
checking for dirname... yes
checking for basename... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for fallocate64... no
checking for posix_fallocate... no
checking for memmem... no
checking for strsep... no
checking for strtold... yes
checking for syslog... yes
checking for valloc... yes
checking for getpagesize... yes
checking for posix_memalign... no
checking for statvfs... yes
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for library containing cos... -lm
checking for library containing socket... -lsocket
checking for library containing gethostbyname... -lnsl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for LIBCURL... yes
checking for LIBEVENT... yes
checking for /tmp/dummy1_zlib.h... yes
checking for library containing gzopen... -lz
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for lseek64... yes
checking whether posix_fadvise is declared... no
checking for posix_fadvise... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking xfs/xfs.h usability... no
checking xfs/xfs.h presence... no
checking for xfs/xfs.h... no
checking how to copy va_list... va_copy
checking for clock_gettime in -lrt... yes
checking for GTK... Requested 'gtk+-2.0 >= 2.8.0' but version of GTK+ is 2.4.9
no
checking host system type... (cached) i386-pc-solaris2.10
configure: creating ./config.status
config.status: creating Makefile
config.status: creating transmission-gtk.spec
config.status: creating cli/Makefile
config.status: creating daemon/Makefile
config.status: creating extras/Makefile
config.status: creating libtransmission/Makefile
config.status: creating utils/Makefile
config.status: creating third-party/Makefile
config.status: creating third-party/miniupnp/Makefile
config.status: creating third-party/libnatpmp/Makefile
config.status: creating third-party/dht/Makefile
config.status: creating macosx/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/icons/Makefile
config.status: creating web/Makefile
config.status: creating web/images/Makefile
config.status: creating web/images/buttons/Makefile
config.status: creating web/images/graphics/Makefile
config.status: creating web/images/progress/Makefile
config.status: creating web/javascript/Makefile
config.status: creating web/javascript/jquery/Makefile
config.status: creating web/stylesheets/Makefile
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
config.status: error: po/Makefile is not ready.

r11648 for config.log about to be attached.

"config.status: error: po/Makefile is not ready."

Changed 11 years ago by oh_noes

r11648 config.log

comment:2 Changed 11 years ago by oh_noes

  • Resolution set to invalid
  • Status changed from new to closed

It appears that it throws the error but still continues.

"config.status: error: po/Makefile is not ready." is addressed in bug 389

Note: See TracTickets for help on using tickets.