Version: (using KDE KDE 3.3.92) Installed from: Compiled From Sources Compiler: gcc 3.4.3 OS: Solaris I get this compile error: if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOS_Solaris -I./../lib -I./../../fonts -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/gorbag/exta/cad/externals/SOLARIS/include/freetype2 -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=32 -D_LARGE_FILES=1 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT Main.o -MD -MP -MF ".deps/Main.Tpo" -c -o Main.o Main.cpp; \ then mv -f ".deps/Main.Tpo" ".deps/Main.Po"; else rm -f ".deps/Main.Tpo"; exit 1; fi Main.cpp:36:20: getopt.h: No such file or directory Solaris 2.6 does not have getopt.h and its associated getopt_long functions, it only has getopt(), declared in unistd.h
That should have been Main.cpp, not Mail.cpp :-(
Created attachment 9667 [details] Modified version of kfontinst/Main.cpp
Can you try the Main.cpp at http://bugs.kde.org/attachment.cgi?id=9667&action=view and see if this fixes the problem. Thanks.
Yes, that compiles. Thanks.
Had the same problem, but the new file compiled cleanly here, thanks! SunOS sunray 5.9 Generic_117171-14 sun4u sparc SUNW,Sun-Fire-880 Solaris gcc version 3.3.5
Can you confirm that the latest Main.cpp in CVS... http://webcvs.kde.org/*checkout*/kdebase/kcontrol/kfontinst/kfontinst/Main.cpp?rev=1.12 ...fixes the problem? If so I'll close the bug report.
Yes. the Main.cpp in CVS fixes the problem. Thanks.
*** Bug has been marked as fixed ***.
Confirmed working in Solaris 2.9, still having problems with bug #99336