[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDE 3.0.2 on IRIX
From:       Jesse Barnes <jbarnes () sgi ! com>
Date:       2002-07-11 18:39:59
[Download RAW message or body]

Please Cc: me on any replies as I'm not subscribed to kde-devel.

I recently tried to compile the KDE 3.0.2 packages on IRIX and was
able to do so after a little hacking.  I've attached some notes that
cover the issues I had with each package.  Overall, nothing major, but
I did have to workaround the namespace handling bug in the MIPSpro 7.3
compilers quite a bit.

Thanks,
Jesse

["arts.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
	--disable-debug \
	--with-extra-includes=/usr/local/include \
	--with-extra-libs=/usr/local/lib \
	--with-qt-dir=/usr/local/qt-3.0.3

no issues

["kdelibs.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
	--disable-debug \
	--with-extra-includes=/usr/local/include \
	--with-extra-libs=/usr/local/lib \
	--with-qt-dir=/usr/local/qt-3.0.3 \
	--with-ssl-dir=/usr/local

Problems:

o dcop/dcopidl, had to 'make parser' because yacc.cc was wrong for
  IRIX

Namespace bug workarounds:

o interfaces/ktexteditor/ktexteditor.cpp:27, added 'using namespace KParts'
o kate/part/katedialogs.cpp:63, added 'using namespace Kate'
o kate/part/katedocument.cpp:24, added 'using namespace Kate'
o kate/part/katefactory.cpp:23, added 'using namespace KParts'
o kate/part/kateview.cpp:24, added 'using namespace KParts' and
  'using namespace Kate'
o kate/part/kateviewdialog.cpp:744, added 'using namespace Kate'
o kate/part/kateviewhighlightaction.cpp:23, added 'using namespace Kate'
o kate/part/kateexportaction.cpp:22, added 'using namespace Kate'
o kcert/kcertpart.cc:855, added 'using namespace KParts'
o khtml/misc/loader.cpp:1012, added 'KIO::' to getCacheControlString
o khtml/khtml_run.cpp:84, added 'using namespace KParts'
o khtml/khtml_ext.cpp:559, added 'using namespace KParts'

["kdebase.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
	--disable-debug \
	--with-extra-includes=/usr/local/include \
	--with-extra-libs=/usr/local/lib \
	--with-qt-dir=/usr/local/qt-3.0.3 \
	--with-ssl-dir=/usr/local \
	--with-shadow \
	--x-libraries=/usr/lib32

Problems:

o kcontrol/background/Makefile.am:11, moved $(LIB_KFILE) to the end of
  the line to fix a link problem 
o kcontrol/kdm/Makefile.am:8, moved $(LIB_KIO) to the end of the line to
  fix a link problem
o khelpcenter/khc_infohierarchymaker.cc, find_if, bind1st and bind2nd
  undefined, didn't compile khelpcenter
o kioslave/nfs/kio_nfs.cpp:75, namespace std didn't exist, added a
  blank declaration
o konsole/konsole/Makefile.am:32, moved $(LIB_KPARTS) to the end of
  the line to fix a link problem
o konsole/konsole/Makefile.am:53, moved $(LIB_KDEUI) to the end of
  the line to fix a link problem
o kpersonalizer/keyecandypagedlg.cpp:20, added '#include
  <klistview.h>' since KListView wasn't defined.
o ksysguard/gui/KSysGuardApplet.cc:
  cc-1265 CC: ERROR File = ./SensorDisplayLib/FancyPlotter.h, Line = 47
  "SensorProperties" is not a nonstatic data member or base class of class
          "FPSensorProperties".

                : SensorProperties(hn, n, t, d), color(c) { }
                  ^
o kdm/kfrontend, 'make install' failed:
  Information: reading old xdm config file /usr/lib/X11/xdm/xdm-config
  Internal error: unknown key GrabServer in section -Core

Namespace bug workarounds:

o libkonq/konq_dirpart.cc:526, added 'using namespace KParts'
o libkonq/konq_historymgr.cc:660, added 'using namespace KParts'
o kate/app/kateapp.cpp:19, added 'using namespace Kate'
o kate/app/katedocmanager.cpp:19, added 'using namespace Kate'
o kate/app/katemainwindow.cpp:19, added 'using namespace Kate'
o kate/app/kateviewmanager.cpp:20, added 'using namespace Kate'
o kate/app/kwritemain.cpp:42, added 'using namespace KParts'
o kdeprint/kdeprint_part/printpart.cpp:80, added 'using namespace
  KParts'
o kfind/kfindpart.cpp:179, added 'using namespace KParts'
o khelpcenter/khc_navigator.cc:1097, added 'using namespace KParts'
o konqueror/konq_run.cc:146, added 'using namespace KParts'
o konqueror/konq_mainwindow.cc:3977, added 'using namespace KParts'
o konqueror/konq_viewmgr.cc:976, added 'using namespace KParts'
o konqueror/konq_browseriface.cc:20, added 'using namespace KParts'
o konqueror/iconview/konq_iconview.cc:977, added 'using namespace
  KParts'
o konqueror/listview/konq_listview.cc:620, added 'using namespace
  KParts'
o konqueror/shellcmdplugin/kshellcmdplugin.cpp:78, added 'using
  namespace KParts'
o konqueror/sidebar/konqsidebar.cpp:123, added 'using namespace
  KParts'
o konsole/konsole/konsole_part.cpp:833, added 'using namespace KParts'
o ksysguard/gui/SensorDisplayLib/DancingBars.cc:42, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/DummyDisplay.cc:31, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/ListView.cc:42, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:46, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/LogFile.cc:35, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/MultiMeter.cc:44, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/ProcessController.cc:33, added 'using
  namespace KSGRD'
o ksysguard/gui/SensorDisplayLib/SensorLogger.cc:35, added 'using
  namespace KSGRD'
o nsplugins/plugin_part.cpp:11, added 'using namespace KSGRD'

["kdenetwork.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
	--disable-debug \
	--with-extra-includes=/usr/local/include \
	--with-extra-libs=/usr/local/lib \
	--with-qt-dir=/usr/local/qt-3.0.3 \
	--x-libraries=/usr/lib32

o libkdenetwork/kmime_codecs.cpp:22, changed cassert, cstring to
  assert.h and string.h
o libkdenetwork/kmime_headers.h:771 & 772, added 'Generics::' to
  'GUnstructured'
o libkdenetwork/kmime_codecs.cpp:1103, removed 'std::' from 'memmove'
o kpf/src/Utils.cpp:24, changed ctime and clocale to time.h and
  locale.h
o kpf/src/DirectoryLister.cpp:24, change cmath to math.h
o kpf/src/Request.cpp:24, change climits to limits.h
o kpf/src/ActiveMonitorItem.cpp:65, fixed return in void function

["kdepim.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
	--disable-debug
	--with-extra-includes=/usr/local/include \
	--with-extra-libs=/usr/local/lib \
	--with-qt-dir=/usr/local/qt-3.0.3 \
	--x-libraries=/usr/lib32

o korganizer/plugins/webexport/webexport.cpp:35, added 'using
  namespace KParts'

["kdegraphics.txt" (text/plain)]

CC=cc
CXX=CC
CFLAGS=-O3 -common
CXXFLAGS=-O3 -LANG:std -common
./configure --prefix=/usr/local/kde-3.0.2 \
        --disable-debug \
        --with-extra-includes=/usr/local/include \
        --with-extra-libs=/usr/local/lib \
        --with-qt-dir=/usr/local/qt-3.0.3 \
        --x-libraries=/usr/lib32

o kviewshell/kviewpart.cpp:35, added 'using namespace KParts'
o kviewshell/kmultipage.cpp:19, added '#include <kparts/part.h>' and
  'using namespace KParts'
o kviewshell/kpagetest.cpp:10, added '#include <kparts/part.h>' and
  'using namespace KParts'
o kviewshell/kviewshell.cpp:23, added 'using namespace KParts'
o kdvi/kdvi_multipage.cpp:569, added 'using namespace KParts'
o kfaxview/kfax_multipage.cpp:27, added 'using namespace KParts'
o kghostview/kgvshell.cpp:38, added 'using namespace KParts'
o kghostview/kgv_view.cpp:710, added 'using namespace KParts'
o kview/kview_view.cc:332, added 'using namespace KParts

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic