[kde-solaris] How to build a stable version of KDE

Mats Rojestal mats.rojestal at bredband.net
Mon Mar 31 18:56:27 CEST 2008


Hi Jan,

As libart is a plain c library it is OK to use.
linking with gcc is not a problem.

Regards Mats Röjestål



If

Jan Hlodan skrev:
> Hello,
> 
> http://pastebin.com/f2a37b735
> 
> kdecore is linking against libart_lgpl_2 from /usr/lib (which is one
> built with CC, not gcc)
> 
> How can I solve this problem?
> 
> Thank you for reply!
> 
> Regards,
> 
> Jan Hlodan
> 
> 
> On Mon, Mar 31, 2008 at 12:14 AM, Jan Hlodan <jan.hlodan at gmail.com> wrote:
>> Hello Mats,
>>
>>  I compiled my own version of libart with prefix=/usr/local/kde
>>  And then I run again (kdelibs):
>>
>>  bash-3.2# ./configure --with-extra-includes=/usr/include/pcre/
>>  --with-ssl-dir=/usr/sfw 1>configure_result
>>  configure: WARNING: Your libstdc++ doesn't appear to be patched for
>>                    visibility support. Disabling -fvisibility=hidden
>>  configure: WARNING: CUPS library not found. CUPS support disabled
>>  configure: WARNING: sudo was not found
>>  wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1830.
>>  config.status: WARNING:  kdecore/kde-config.cpp.in seems to ignore the
>>  --datarootdir setting
>>
>>  but error is the same like a last one....
>>  :(
>>
>>  bash-3.2# gmake
>>  .
>>  .
>>  .
>>  .
>>  .
>>  /bin/bash ../libtool --silent --tag=CXX   --mode=link /usr/sfw/bin/g++
>>   -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
>>  -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
>>  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
>>  -DQT_NO_TRANSLATION  -R /usr/local/kde/lib -R /usr/local/kde/lib -R
>>  /usr/local/qt/lib   -o kde-config kde-config.o ./libkdecore.la
>>  #
>>  ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple
>>  inclusion of file
>>  #
>>  Undefined                       first referenced
>>  #
>>   symbol                             in file
>>  #
>>  art_free(void*)                     ./.libs/libkdecore.so
>>  #
>>  art_alloc(unsigned int)             ./.libs/libkdecore.so
>>  #
>>  art_realloc(void*, unsigned int)    ./.libs/libkdecore.so
>>  #
>>  ld: fatal: Symbol referencing errors. No output written to .libs/kde-config
>>  #
>>  collect2: ld returned 1 exit status
>>  #
>>  gmake[4]: *** [kde-config] Error 1
>>  #
>>  gmake[4]: Leaving directory `/export/home/wewek/kde/kdelibs/kdecore'
>>  #
>>  gmake[3]: *** [all-recursive] Error 1
>>  #
>>  gmake[3]: Leaving directory `/export/home/wewek/kde/kdelibs/kdecore'
>>  #
>>  gmake[2]: *** [all] Error 2
>>  #
>>  gmake[2]: Leaving directory `/export/home/wewek/kde/kdelibs/kdecore'
>>  #
>>  gmake[1]: *** [all-recursive] Error 1
>>  #
>>  gmake[1]: Leaving directory `/export/home/wewek/kde/kdelibs'
>>  #
>>  gmake: *** [all] Error 2
>>  #
>>  bash-3.2#
>>
>>  Should be the problem in:
>>   Your libstdc++ doesn't appear to be patched for
>>                    visibility support. Disabling -fvisibility=hidden ???
>>
>>  I'll send you my config.log and make log.
>>  Could you check it please?
>>  Thank you very much.
>>
>>  Regards,
>>
>>
>>  Jan Hlodan
>>
>>
>>  On Sun, Mar 30, 2008 at 6:59 PM, Mats Rojestal
>>
>>
>> <mats.rojestal at bredband.net> wrote:
>>  > Hi Jan,
>>  >
>>  >  Looks like you are missing libarts_lgpl you can get precompiled package
>>  >  from:
>>  >
>>  >  ftp://ftp.sunet.se/pub/vendor/sun/freeware/intel/10/libart_lgpl-2.3.19-sol10-x86-local.gz
>>  >  This installs in /usr/local and if you want that installed in another
>>  >  place you can compile your own version and install it where configure
>>  >  script will find it.
>>  >
>>  >
>>  >
>>  >  Regards Mats Röjestål
>>  >
>>  >  Jan Hlodan skrev:
>>  >  > Hi Mats,
>>  >  >
>>  >  > Thank you for the advice! It solved my Qt problem.
>>  >  > Qt was installed successfully.
>>  >  > So I continue with step numb. 2 - arts
>>  >  > I was surprised if compilation passed without any errors. :)
>>  >  > But now I'm playing with kdelibs and this is a little problem for me...
>>  >  > First problem was with libpcre.
>>  >  > I solved it with:
>>  >  > ./configure --with-extra-includes=/usr/include/pcre/
>>  >  > (thanks [ade])
>>  >  > Configure passed with some missing libs (but I think I don't need them
>>  >  > for Kbabel)
>>  >  >
>>  >  > Can you look at this please?:
>>  >  > http://pastebin.com/f14b1917c
>>  >  >
>>  >  > I don't know if I set all correctly (PATH, LD_LIBRARY_PATH, ...)
>>  >  >
>>  >  > Thank you for reply.
>>  >  >
>>  >  > Regards,
>>  >  >
>>  >  > Jan Hlodan
>>  >  >
>>  >  >
>>  >  >
>>  >  > On Sat, Mar 29, 2008 at 8:08 PM, Mats Rojestal
>>  >  > <mats.rojestal at bredband.net> wrote:
>>  >  >> Hi Jan,
>>  >  >>
>>  >  >>  You should add flags "-platform solaris-g++" and "-prefix /usr/local" to
>>  >  >>  your configure. Change /usr/local to whatever prefix path you want.
>>  >  >>
>>  >  >>  Regards Mats Röjestål
>>  >  >>
>>  >  >>  Jan Hlodan skrev:
>>  >  >>
>>  >  >>
>>  >  >>> Hi Mats,
>>  >  >>  >
>>  >  >>  > Thank you for reply.
>>  >  >>  > Yes, you are right. All have to be compiled with G staff.
>>  >  >>  > For KDE 3.5.x and specially for kdesdk I need these packages:
>>  >  >>  >
>>  >  >>  > Qt >= 3.3.2 & < 4.0
>>  >  >>  > X Server
>>  >  >>  > X Render Extension
>>  >  >>  > Xft >=2.0
>>  >  >>  > fontconfig
>>  >  >>  > Berkeley DB 4
>>  >  >>  > Perl
>>  >  >>  > zlib >=1.1
>>  >  >>  > libxml2 >= 2.4.8
>>  >  >>  > libxslt >= 1.0.7
>>  >  >>  > Subversion
>>  >  >>  > Subversion
>>  >  >>  > CVS
>>  >  >>  > doxygen
>>  >  >>  >
>>  >  >>  > and then how you said: arts, kdelibs and kdebase.
>>  >  >>  >
>>  >  >>  > So I wonder to know how I can compile Qt with using gcc,g++
>>  >  >>  > On the: http://techbase.kde.org/index.php?title=Getting_Started/Build/Stable_Version
>>  >  >>  > is writen:
>>  >  >>  >
>>  >  >>  > bunzip2 qt-x11-3.3.8.tar.bz2
>>  >  >>  > tar xvf qt-x11-3.3.8.tar
>>  >  >>  > cd qt-x11-3.3.8
>>  >  >>  > less INSTALL
>>  >  >>  > # Set up QTDIR, KDEDIR, PATH, LD_LIBRARY_PATH,
>>  >  >>  > # XDG_DATA_DIRS and XDG_CONFIG_DIRS
>>  >  >>  > cd $QTDIR
>>  >  >>  > ./configure -system-zlib -qt-gif -system-libpng \
>>  >  >>  >     -system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
>>  >  >>  >     -no-xinerama -no-g++-exceptions
>>  >  >>  > make
>>  >  >>  >
>>  >  >>  > #If compiling on a system where GNU make is not the default make (that
>>  >  >>  > is, most systems other than Linux), please run gmake && gmake install
>>  >  >>  > instead of make && make install.
>>  >  >>  >
>>  >  >>  > I tried to set:
>>  >  >>  > CC=/usr/sfw/bin/gcc
>>  >  >>  > CXX=/usr/sfw/bin/g++
>>  >  >>  > export CC CXX
>>  >  >>  >
>>  >  >>  > and then:
>>  >  >>  >
>>  >  >>  > #./configure -system-zlib -qt-gif -system-libpng \
>>  >  >>  >     -system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
>>  >  >>  >     -no-xinerama -no-g++-exceptions
>>  >  >>  >
>>  >  >>  > #gmake
>>  >  >>  >
>>  >  >>  > all passed but after:
>>  >  >>  > #gmake install
>>  >  >>  >
>>  >  >>  > I got errors
>>  >  >>  >
>>  >  >>  > The question is: is my procedure correct?
>>  >  >>  > Or I do something wrong?
>>  >  >>  >
>>  >  >>  > Thank you for answer.
>>  >  >>  >
>>  >  >>  > Regards,
>>  >  >>  >
>>  >  >>  > Jan Hlodan
>>  >  >>  >
>>  >  >>  >
>>  >  >>  > On Sat, Mar 29, 2008 at 2:36 PM, Mats Rojestal
>>  >  >>  > <mats.rojestal at bredband.net> wrote:
>>  >  >>  >
>>  >  >>  >> Hi Jan,
>>  >  >>  >>
>>  >  >>  >> I built and installed kde 3.5.9 on Solaris 10u4_x86 from sources and all
>>  >  >>  >> packages compiles nicely with gcc 4.3.0(with gnu linker).
>>  >  >>  >> Install libs/packages that are needed and install them first.
>>  >  >>  >> Avoid using SunPro C++ compiled libs. Install your own or sunfreeware
>>  >  >>  >> builds.
>>  >  >>  >> For kdebabel i think you need arts and kdebase packages and qt package.
>>  >  >>  >>
>>  >  >>  >> Regards Mats Röjestål
>>  >  >>  >>
>>  >  >>  >> PS there are a few minor fixes/patches needed to get everything to
>>  >  >>  >> compile.
>>  >  >>  >>
>>  >  >>  >> Jan Hlodan skrev:
>>  >  >>  >>
>>  >  >>  >>
>>  >  >>  >>
>>  >  >>  >>> Hello,
>>  >  >>  >>>
>>  >  >>  >>> I want to ask you how I can build KDE 3.5.x from sources?
>>  >  >>  >>> I followed this instructions:
>>  >  >>  >>> http://techbase.kde.org/index.php?title=Getting_Started/Build/Stable_Version
>>  >  >>  >>> But I can't installed Qt with gcc, g++ (or I don't know how..)
>>  >  >>  >>> I would like to use Kbabel (part of kde-sdk package)
>>  >  >>  >>> I also found Michael's project on:
>>  >  >>  >>> ftp://ls12-ftp.cs.uni-dortmund.de/outgoing/KDE/3.5.7
>>  >  >>  >>> yes, it's nice and easy but kdesdk is missing there and I don't know how
>>  >  >>  >>> to install it. (and this is just for sparc)
>>  >  >>  >>>
>>  >  >>  >>> Can you give me an advice how to build Kbabel on Solaris? I think I
>>  >  >>  >>> don't need whole KDE.
>>  >  >>  >>> Or some Michael's HOW TO?
>>  >  >>  >>>
>>  >  >>  >>> Thank you for reply.
>>  >  >>  >>>
>>  >  >>  >>> Regards,
>>  >  >>  >>>
>>  >  >>  >>> Jan Hlodan
>>  >  >>  >>>
>>  >  >>  >>>
>>  >  >>  >>>
>>  >  >>  >>>
>>  >  >>  >>> ------------------------------------------------------------------------
>>  >  >>  >>
>>  >  >>  >>
>>  >  >>  >>> ___________________________________________________
>>  >  >>  >>> This message is from the kde-solaris mailing list.
>>  >  >>  >>> Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  >>  >>> Archives: http://lists.kde.org/.
>>  >  >>  >>> More info: http://www.kde.org/faq.html.
>>  >  >>  >> ___________________________________________________
>>  >  >>  >> This message is from the kde-solaris mailing list.
>>  >  >>  >> Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  >>  >> Archives: http://lists.kde.org/.
>>  >  >>  >> More info: http://www.kde.org/faq.html.
>>  >  >>  > ___________________________________________________
>>  >  >>  > This message is from the kde-solaris mailing list.
>>  >  >>  > Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  >>  > Archives: http://lists.kde.org/.
>>  >  >>  > More info: http://www.kde.org/faq.html.
>>  >  >>  ___________________________________________________
>>  >  >>  This message is from the kde-solaris mailing list.
>>  >  >>  Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  >>  Archives: http://lists.kde.org/.
>>  >  >>  More info: http://www.kde.org/faq.html.
>>  >  > ___________________________________________________
>>  >  > This message is from the kde-solaris mailing list.
>>  >  > Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  > Archives: http://lists.kde.org/.
>>  >  > More info: http://www.kde.org/faq.html.
>>  >  ___________________________________________________
>>  >  This message is from the kde-solaris mailing list.
>>  >  Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
>>  >  Archives: http://lists.kde.org/.
>>  >  More info: http://www.kde.org/faq.html.
>>
> 
> 
> 


More information about the kde-solaris mailing list