Upgrade to Gnome-2.4 - mission impossible ?

Vladimir B. Grebenschikov vova at sw.ru
Tue Sep 23 10:08:05 PDT 2003


I have installed gnome-2.4 from marcus ports tree before official
release as freebsd port, and it mostly works.

But now I am trying to upgrade to latest gnome-2.4 version from ports.

I don't know why audio/arts (Audio system for the KDE integrated X11
desktop) is in dependancy list for gnome2:

# ports_glob -R gnome2 | fgrep arts
audio/arts
#

Is esound subsystem not enough for gnome ?

Anyway I can't build audio/arts - it complains about improper version of
qt. But I have latest qt from ports installed:

# pkg_info -g qt-3.2.1
Information for qt-3.2.1:

Mismatched Checksums:

# find /usr/X11R6/lib -name libqt\*
/usr/X11R6/lib/libqt-mt.prl
/usr/X11R6/lib/libqt-mt.so.3.2.1
/usr/X11R6/lib/libqt-mt.so
/usr/X11R6/lib/libqt-mt.so.3
/usr/X11R6/lib/libqt-mt.so.3.2
#


#/usr/ports/audio/arts 200_> portupgrade arts
--->  Upgrading 'arts-1.1.3,1' to 'arts-1.1.4,1' (audio/arts)
--->  Building '/usr/ports/audio/arts'
===>  Cleaning for libaudiofile-0.2.3
...
===>  Cleaning for arts-1.1.4,1
===>  Extracting for arts-1.1.4,1
>> Checksum OK for KDE/arts-1.1.4.tar.bz2.
===>  Patching for arts-1.1.4,1
===>  Applying FreeBSD patches for arts-1.1.4,1
===>   arts-1.1.4,1 depends on file: /usr/X11R6/bin/moc - found
===>   arts-1.1.4,1 depends on executable: gmake - found
===>   arts-1.1.4,1 depends on shared library: audiofile.0 - found
===>  Configuring for arts-1.1.4,1
/usr/bin/sed -i.bak -e 's|-pedantic ||g'
/usr/ports/audio/arts/work/arts-1.1.4/configure
checking build system type... i386-portbld-freebsd5.1
checking host system type... i386-portbld-freebsd5.1
checking target system type... i386-portbld-freebsd5.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel

....

checking fam.h presence... yes
checking for fam.h... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... yes
checking for pthread_create in -lpthread... no
checking whether c++ supports -pthread... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library qt) not
found. Please check your installation!
For more details about this problem, look at the end of config.log.
===>  Script "configure" failed unexpectedly.
      Please report the problem to kde at FreeBSD.org [maintainer] and
attach
      the "/usr/ports/audio/arts/work/arts-1.1.4/config.log" including
the
      output of the failure of your make command. Also, it might be a
good
      idea to provide an overview of all packages installed on your
system
      (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/audio/arts.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade38147.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
        ! audio/arts (arts-1.1.3,1)     (configure error)


Looking into config.log I have found that it tries to link against
libqt.so, but there is only libqt-mt.

/usr/ports/audio/arts# fgrep -- -lqt work/arts-1.1.4/config.log 
configure:24813: rm -rf SunWS_cache; c++ -o conftest -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O -pipe -mcpu=pentiumpro -fno-exceptions -fno-check-new
-I/usr/X11R6/include -I/usr/X11R6/include -L/usr/local/lib
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include
-D_GETOPT_H -D_THREAD_SAFE  -L/usr/X11R6/lib -L/usr/X11R6/lib 
-L/usr/local/lib  conftest.cc -Wl,-export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib -ljpeg  -L/usr/X11R6/lib -lqt -lpng -lz -lm -ljpeg  
-lXext -lX11 -lSM -lICE   1>&5
/usr/bin/ld: cannot find -lqt


How to deal with it ?


-- 
Vladimir B. Grebenschikov <vova at sw.ru>
SWsoft Inc.



More information about the freebsd-gnome mailing list