Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Tue Oct 21, 2014 1:44 am

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
Unread postPosted: Tue Nov 09, 2004 8:08 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
I've made more progress geeting through the Kile configure with the neko_qt and neko_kde, but am stuck again. I now use:
Code:
ENVIRONMENT VARIABLES
---------------------
setenv CC cc
setenv CXX CC
setenv F77 f77
setenv CFLAGS '-mips4 -O3 -c99 -I/usr/nekoware/include -I/usr/include -Wl,-rpath -Wl,/usr/nekoware/lib'
setenv CXXFLAGS '-mips4 -O3 -I/usr/nekoware/include -I/usr/include -Wl,-rpath -Wl,/usr/nekoware/lib'
setenv LDFLAGS '-mips4 -L/usr/nekoware/lib -L/usr/lib32'
setenv PKG_CONFIG_PATH '/usr/nekoware/lib/pkgconfig'
setenv PKG_CONFIG_LIBDIR '/usr/nekoware/lib'
setenv LD_LIBRARY_PATH '/usr/nekoware/lib:/usr/lib32'
setenv LD_LIBRARYN32_PATH '/usr/nekoware/lib:/usr/lib32'
setenv GNOME2_DIR  '/usr/nekoware'
setenv GNUMAKE gmake
setenv PAGE letter

set path = ( /usr/nekoware/bin /usr/nekoware/kde/bin /usr/nekoware/qt/bin /usr/sbin /usr/bsd /sbin /usr/bin /usr/bin/X11 . )

CONFIGURE FLAGS
---------------
./configure --prefix=/usr/nekoware \
--with-qt-dir=/usr/nekoware/qt


which gets me exactly this far....

Code:
checking build system type... mips-sgi-irix6.5
checking host system type... mips-sgi-irix6.5
checking target system type... mips-sgi-irix6.5
checking for a BSD-compatible install... admin/install-sh -c
checking for -p flag to install... no
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/nekoware/kde/bin/kde-config
checking where to install... /usr/nekoware (as requested)
checking for style of include used by make... GNU
checking for gcc... cc
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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... sgi
checking how to run the C preprocessor... cc -E
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... sgi
checking how to run the C++ preprocessor... CC -E
checking whether CC supports -O0... yes
not using lib directory suffix
checking for a sed that does not truncate output... /sbin/sed
checking for egrep... grep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... :
checking for strip... strip
checking if cc static flag  works... yes
checking for cc option to produce PIC...
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -n32) supports shared libraries... yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the CC linker (/usr/bin/ld -n32) supports shared libraries... yes
checking for CC option to produce PIC...
checking if CC supports -c -o file.o... out/ii_files not removed: directory
out: Directory not empty
conftest: Directory not empty
conftest not removed: directory
yes
checking whether the CC linker (/usr/bin/ld -n32) supports shared libraries... yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
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... no
checking for f77 option to produce PIC...
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld -n32) supports shared libraries... yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for msgfmt... /usr/nekoware/bin/msgfmt
checking for gmsgfmt... /usr/nekoware/bin/msgfmt
checking for xgettext... /usr/nekoware/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... yes
checking if strlcat needs custom prototype... no
checking for strlcpy... yes
checking if strlcpy needs custom prototype... no
checking for main in -lutil... no
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries , headers
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/nekoware/bin/perl
checking for Qt... libraries /usr/nekoware/qt/lib, headers /usr/nekoware/qt/include using -mt
checking for moc... /usr/nekoware/qt/bin/moc
checking for uic... /usr/nekoware/qt/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/nekoware/kde/lib, headers /usr/nekoware/kde/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/nekoware/kde/bin/dcopidl
checking for dcopidl2cpp... /usr/nekoware/kde/bin/dcopidl2cpp
checking for mcopidl... /usr/nekoware/kde/bin/mcopidl
checking for artsc-config... /usr/nekoware/kde/bin/artsc-config
checking for meinproc... /usr/nekoware/kde/bin/meinproc
checking for kconfig_compiler... /usr/nekoware/kde/bin/kconfig_compiler
checking for dcopidlng... /usr/nekoware/kde/bin/dcopidlng
checking for xmllint... /usr/nekoware/bin/xmllint
checking for Qt docs... /usr/nekoware/qt/doc/html
checking for dot... not found
checking for doxygen... not found
checking if doc should be compiled... yes
checking if kile should be compiled... yes
configure: error: conditional "unsermake_enable_pch" was never defined.
Usually this means the macro was only invoked conditionally.


Any clues would be very appreciated!


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Nov 09, 2004 8:52 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
Fixed the first problem (above) as follows:
Code:
  configure: error: conditional "unsermake_enable_pch" was never defined.
   Usually this means the macro was only invoked conditionally.

   ***the fix*** added to line#31625 of configure file:

     unsermake_enable_pch_TRUE='#'
     unsermake_enable_pch_FALSE=

seems like the variable configure needed (unsermake_enable_pch) was et inside an if statement but somehow was out-of-scope

Also, I determined why I used to get the configure error
Code:
checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!


It's the C++ MIPSpro/GCC incompatability.

Anyway, on to the latest error -- can a C++ programmer diagnois

Code:
   CC -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/nekoware/kde/include -I/usr/nekoware/qt/include    -DQT_THREAD_SUPPORT   -mips4 -O3 -I/usr/nekoware/include -I/usr/include -Wl,-rpath -Wl,/usr/nekoware/lib -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kiledocumentinfo.o kiledocumentinfo.cpp
   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 431
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 432
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reComments("([^\\\\]%|^%).*$");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 433
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 434
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 435
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reReNewCommand("\\\\renewcommand.*$");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 436
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 604
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reItem("^(\\s*)@([a-zA-Z]+)");
                  ^

   cc-3193 CC: ERROR File = kiledocumentinfo.cpp, Line = 605
     The overloaded function "QRegExp::QRegExp" is not a type name.

           static QRegExp::QRegExp reSpecial("string|preamble|comment");
                  ^

   8 errors detected in the compilation of "kiledocumentinfo.cpp".
   gmake[3]: *** [kiledocumentinfo.o] Error 2
   gmake[3]: Leaving directory `/usr/nekoware/dev/kile-1.7.1/kile'


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Nov 09, 2004 9:53 am 
Offline

Joined: Sun Oct 05, 2003 8:42 am
Posts: 786
Location: Frankfurt (Rhein-Main Area) / Germany
maybe the include to qregexp is missing ?

Matthias

_________________
Life is what happens while we are making other plans


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Nov 09, 2004 2:35 pm 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
Unfortunately, no line#21 is
Code:
#include <qregexp.h>


The bad code is as follows:
Code:

//FIXME refactor, clean this mess up
void TeXInfo::updateStruct()
{
   kdDebug() << "==void TeXInfo::updateStruct()=========." << endl;

   if ( getDoc() == 0L ) return;

   Info::updateStruct();
        QMapConstIterator<QString,KileStructData> it;
   static QRegExp::QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
   static QRegExp::QRegExp reComments("([^\\\\]%|^%).*$");
   static QRegExp::QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
   static QRegExp::QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
   static QRegExp::QRegExp reReNewCommand("\\\\renewcommand.*$");
   static QRegExp::QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");

uuggh!! Thanks anyway Brombear. :(

_________________
Arguing that Java is better than C++ is like arguing that grasshoppers taste better than tree bark.
- Thant Tessman

I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. - Alan Kay


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Nov 09, 2004 10:46 pm 
Offline

Joined: Sun Oct 05, 2003 8:42 am
Posts: 786
Location: Frankfurt (Rhein-Main Area) / Germany
This looks strange

Code:
   static QRegExp::QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
   static QRegExp::QRegExp reComments("([^\\\\]%|^%).*$");
   static QRegExp::QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
   static QRegExp::QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
   static QRegExp::QRegExp reReNewCommand("\\\\renewcommand.*$");
   static QRegExp::QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");


Should this be some static objects with constructor calls ? Never seen something like this (except in initialization of static member variables). I believe it should look this way:

Code:
   static QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
   static QRegExp reComments("([^\\\\]%|^%).*$");
   static QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
   static QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
   static QRegExp reReNewCommand("\\\\renewcommand.*$");
   static QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");


Is this working ?

Matthias

_________________
Life is what happens while we are making other plans


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Nov 10, 2004 5:16 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
Brombear==genius!

Everytime the compiler complained about a Qfunc::Qfunc is replaced it with Qfunc as you suggested about and made it through the compile!!!

Now I have one more error---when I try to run, I get a rld error
Code:
195213:kile: rld: Fatal Error: object libjpeg.so from liblist in /usr/nekoware/kde/lib/libkhtml.so.5 has version "sgi1.0", which does not match the found object: /usr/nekoware/lib/libjpeg.so (with version "62.0.0:62.0")


Now, I know we I've seen this before, but can't recall the fix. I tried playing with the LD_LIBRARY_PATH variable without success.

I think some of the issue is with the /usr/nekoware/kde/lib libraries.

So close....please advise. :)


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Nov 10, 2004 6:15 am 
Offline

Joined: Sun Oct 05, 2003 8:42 am
Posts: 786
Location: Frankfurt (Rhein-Main Area) / Germany
squeen wrote:
Brombear==genius!

Everytime the compiler complained about a Qfunc::Qfunc is replaced it with Qfunc as you suggested about and made it through the compile!!!


Not really. This code seems to be from some moron who didn't understand c++ and of course gcc seems to allow such ugly and wrong code ...

Quote:
Now I have one more error---when I try to run, I get a rld error
Code:
195213:kile: rld: Fatal Error: object libjpeg.so from liblist in /usr/nekoware/kde/lib/libkhtml.so.5 has version "sgi1.0", which does not match the found object: /usr/nekoware/lib/libjpeg.so (with version "62.0.0:62.0")



It seems libkhtml has been compiled with the wrong jpeg lib, probably the original system one or the one from freeware. But that is just a guess.

Matthias

_________________
Life is what happens while we are making other plans


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Nov 10, 2004 11:03 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
squeen wrote:
Everytime the compiler complained about a Qfunc::Qfunc is replaced it with Qfunc as you suggested about and made it through the compile!!!

:oops:
I can't believe I mangled the grammar so awfully this morning. My apologies to those forced to read my semi-literate scrawling!

Thanks again Brombear, I'm hoping dexter1, who compiled neko_KDE, will speak to this issue.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Nov 11, 2004 3:19 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
In all honesty, KDE is a real travesty on IRIX. There are serious stability problems with KDE 3.2.2 so porting Kile to IRIX should give anyone a real headache :)

As for the libjpeg issue, it is possible that KDE is compiled with /usr/lib/libjpeg.so which is version 6a, as opposed to neko_libjpeg, which is 6b. The neko_kdebase and neko_kdelibs were shipped 9th of may which is two weeks after neko_libjpeg. Could very well be that i did not link neko_kdebase/kdelibs with neko_libjpeg. A quick glance at the dependency list confirms my suspicion :/

Try it with unsetenv LD_LIBRARY_PATH so the programs have to find their libraries on their own.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Nov 16, 2004 5:22 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
No joy with the unsetenv....maybe I can compile Kile against the system libjpeg....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group