compile failed at scientific linux 6.2

51 views
Skip to first unread message

hanpedro

unread,
Mar 25, 2012, 7:43:55 AM3/25/12
to krusader-users

I got an error message at compiling krusader 2.0.0 at scientific linux
6.2.

cd /_work/linux_apps/krusader/krusader-2.0.0/krusader/VFS && /usr/bin/c
++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -
DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -Wnon-
virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-
subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -
fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -
DQT_NO_DEBUG -I/_work/linux_apps/krusader/krusader-2.0.0/krusader/VFS -
I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/
include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtHelp -I/
usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/
usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/
usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/
include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -
I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib/
qt4/mkspecs/default -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -
D_FILE_OFFSET_BITS=64 -o CMakeFiles/VFS.dir/kiojobwrapper.o -c /_work/
linux_apps/krusader/krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp
/_work/linux_apps/krusader/krusader-2.0.0/krusader/VFS/
kiojobwrapper.cpp: In member function ‘void
KIOJobWrapper::createJob()’:
/_work/linux_apps/krusader/krusader-2.0.0/krusader/VFS/
kiojobwrapper.cpp:123: error: ‘stderr’ was not declared in this scope
/_work/linux_apps/krusader/krusader-2.0.0/krusader/VFS/
kiojobwrapper.cpp:123: error: ‘fprintf’ was not declared in this scope
make[2]: *** [krusader/VFS/CMakeFiles/VFS.dir/kiojobwrapper.o] Error 1
make[2]: Leaving directory `/_work/linux_apps/krusader/krusader-2.0.0'
make[1]: *** [krusader/VFS/CMakeFiles/VFS.dir/all] Error 2
make[1]: Leaving directory `/_work/linux_apps/krusader/krusader-2.0.0'
make: *** [all] Error 2
[root@maestro krusader-2.0.0]# krusader
bash: krusader: command not found


Any comment would be appreciated.

Thanks in advance.

r2ruy...@yahoo.de

unread,
Apr 4, 2012, 3:14:34 PM4/4/12
to krusade...@googlegroups.com, Jan Lepper, Dirk Eschler
Hi hanpedro!

I've also trouble compiling the 2.0.0 release (Kubuntu 11.10 here):

...
In file included from
/home/nik/Desktop/krusader-2.0.0/krusader/MountMan/kmountmangui.cpp:33:0:
/home/nik/Desktop/krusader-2.0.0/krusader/MountMan/kmountmangui.h: In
constructor ‘fsData::fsData()’:
/home/nik/Desktop/krusader-2.0.0/krusader/MountMan/kmountmangui.h:116:34:
error: call of overloaded ‘QString(int)’ is ambiguous
...

but it's different to your problem.

Have you tried to use a newer version? I was able to compile the current git
version and also krusader-2.4.0-beta1.

So 2.0.0 is our stable version, but it's not even compilable these days?!
@Dirk @Jan: Isn't it time for a release? Any plans on this?

r2ruyu-naja

Reply all
Reply to author
Forward
0 new messages