[kde-solaris] Compiling 3.1 on Solaris 8 with gcc 3.2

Nick THOMPSON kde-solaris@mail.kde.org
Wed Feb 12 17:12:02 2003


Paul,

QT is a build in place application. You should build it where you want
it to end up and you don't need a make install.

Have you got all the libraries in place? I setup the following
environment variables before I do a KDE build (you'll need to adapt them
for your setup):

export KDEDIR=/opt/kde/3.1
export QTDIR=/opt/qt/3.1

export
PATH=/opt/binutils/2.13.1/bin:${QTDIR}/bin:${KDEDIR}/bin:/opt/freetool/bin:
/opt/sbin:/opt/bin:/usr/dt/bin:/usr/openwin/bin:/usr/5bin:/usr/bin:/bin:/usr/sbin:/usr/etc:/usr/ccs/b
in:/usr/ucb
rehash

export
LD_LIBRARY_PATH=${QTDIR}/lib:${KDEDIR}/lib:/opt/gcc/3.2.1/lib:/opt/freetool/lib:/usr/openwin/l
ib:/usr/lib

alias conf='./configure --disable-debug --prefix=/opt/kde/3.1
--with-ssl-dir=/opt/openssl --with-extr
a-includes=/opt/freetool/include:/opt/kde/3.1/include
--with-extra-libs=/opt/freetool/lib:/opt/kde/3.
1/lib:/opt/gcc/3.2.1/lib'

Any help...?
Nick.

On Wed, 2003-02-12 at 15:57, Paul Hands wrote:
> Hi,
> 
> I'm getting nowhere fast with compiling the 3.1 sources on my Solaris
> 8 box.
> 
> It's taken 3 days to get qt3.1 to compile due to many issues.  I was
> able to run ./configure and then make successfully.  At least
> according to the nice message at the end of the make command, I was.  
> However, the INSTALL file suggests running "make install" after that.,
> which fails completely.  I did a cleanup and reran configure and make
> to get back to a reasonably safe position.  DO I need to do a make
> install for qt?
> 
> Now I tackle arts.  I can run ./configure quite happily and then it
> recommends running make, so I did.
> 
> It fails thus, and I have no clue as to what to do next.  I'm not at
> all sure whether I really compiled qt correctly or whether this is
> independent of that.  Any help or suggestions most welcome.
> 
> Paul
> 
> Transcript follows :- 
> >make
> make  all-recursive
> Making all in libltdl
> Making all in mcop
> /bin/bash ../libtool --silent --mode=link --tag=CXX g++ 
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-s
> trings -O2 -fno-exceptions -fno-check-new  -ftemplate-depth-99     -o
> libmcop.la.closure libmcop_la_closure.lo -no-undefined -version-info
> 1:0 buffer.lo connection.
> lo core.lo dispatcher.lo  iomanager.lo object.lo socketconnection.lo
> tcpconnection.lo  unixconnection.lo tcpserver.lo unixserver.lo
> objectmanager.lo  factory.lo idl
> filereg.lo ifacerepo_impl.lo mcoputils.lo  startupmanager.lo md5.lo
> md5auth.lo referenceclean.lo  datapacket.lo asyncstream.lo
> notification.lo flowsystem.lo  extens
> ionloader.lo tmpglobalcomm.lo mcopconfig.lo connect.lo  reference.lo
> type.lo trader_impl.lo dynamicrequest.lo anyref.lo  loopback.lo
> debug.lo delayedreturn.lo threa
> d.lo  dynamicskeleton.lo -lsocket  -lnsl ../libltdl/libltdlc.la
> libtool: link: warning: `-version-info' is ignored for programs
> Undefined                       first referenced
> symbol                             in file
> Arts::SystemThreads::the()          .libs/dispatcher.o
> __builtin_delete                    .libs/thread.o
> __builtin_new                       .libs/thread.o
> __rtti_user                         .libs/thread.o
> __pure_virtual                      .libs/thread.o
> Arts::Mutex::~Mutex [in-charge]()   .libs/dispatcher.o
> __rtti_si                           .libs/thread.o
> vtable for Arts::Mutex              .libs/dispatcher.o
> vtable for Arts::ThreadCondition    .libs/dispatcher.o
> Arts::ThreadCondition::~ThreadCondition
> [in-charge]().libs/dispatcher.o
> ld: fatal: Symbol referencing errors. No output written to
> libmcop.la.closure
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `libmcop.la.closure'
> Current working directory /export/home/kde3.1/arts-1.1/mcop
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/home/kde3.1/arts-1.1
> *** Error code 1
> make: Fatal error: Command failed for target `all'