Red Hat 9.0

Hi,

I try to install OCC 5.0 under Red Hat 9.0 and run the configure script and get this message:

./configure
checking for cc... cc
checking whether the C compiler (cc -DLIN -DLININTEL ) works... yes
checking whether the C compiler (cc -DLIN -DLININTEL ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for cl... no
checking for cc++... no
checking for CC... no
checking for cxx... no
checking for g++... g++
checking whether the C++ compiler (g++ -DLIN -DLININTEL ) works... yes
checking whether the C++ compiler (g++ -DLIN -DLININTEL ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for bool... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for OpenGL... libraries /usr/X11R6/lib, headers /usr/include
checking for Qt... libraries /opt/OpenCASCADE-50/ros/../3rdparty/Linux/qt, headers NO
checking for moc... /usr/bin/moc
checking for msg2qm... not found
configure: warning: No msg2qm utility found!
Please check whether you installed Qt correctly.
You need to have a running msg2qm binary.
If configure shouldn't have tried this one, set
the environment variable MSG2QM to the right one
before running configure.
checking for CasCade... libraries /opt/OpenCASCADE-50/ros/Linux/lib, headers /opt/OpenCASCADE-50/ros/inc
checking for CasCade version... 5.0
creating ./config.status
creating Makefile
creating config.Linux

Although all libraries are installed correctly, I do not know what to do else now.

Any hints ?

Did anyone of you ever manage to use Red Hat 9.0 with OCC ?

Regards and thanks in advance.

MCV

N. Sharjith's picture

Dear MCV,
I think this is a problem bcoz occ is not yet supporting gcc3.2 or later. I have seen such problems posted by many people. I myself have failed in installing occ 5.1 on RH9.0 and FC1. I think they will come up with the Fedora compatible (new gcc) occ in later versions

venkat's picture

mcv,

Maybe you could do a locate msg2qm and add it to your PATH. I know at least occ5.1 compiles and runs on RH9.

Venkat

MCV's picture

make[1]: Wechsel in das Verzeichnis Verzeichnis »/home/varcol/projects/OpenCascade/MakeBlade/adm/Linux«
g++ ../../src/Application.cxx -c -DCSFDB -DNO_CXX_EXCEPTION -DNo_Exception -DLIN -DLININTEL -I/usr/include -I/opt/OpenCASCADE-50/ros/inc -INO -I/usr/X11R6/include -o ../../Linux/obj/Application.o
In file included from ../../src/Document.h:4,
from ../../src/Application.h:4,
from ../../src/Application.cxx:1:
../../src/MDIWindow.h:4: qmainwindow.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../src/Application.h:4,
from ../../src/Application.cxx:1:
../../src/Document.h:6: qobject.h: Datei oder Verzeichnis nicht gefunden
../../src/Document.h:7: qlist.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../src/Application.cxx:1:
../../src/Application.h:6: qmainwindow.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.h:7: qaction.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.h:8: qtoolbar.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.h:9: qpopupmenu.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.h:10: qworkspace.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.h:11: qlist.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../src/Application.cxx:3:
../../src/View.h:4: qwidget.h: Datei oder Verzeichnis nicht gefunden
../../src/View.h:5: qaction.h: Datei oder Verzeichnis nicht gefunden
../../src/View.h:6: qlist.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:4: qvbox.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:5: qmenubar.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:6: qstatusbar.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:7: qworkspace.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:8: qmessagebox.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:9: qapplication.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:10: qsignalmapper.h: Datei oder Verzeichnis nicht gefunden
../../src/Application.cxx:11: qfiledialog.h: Datei oder Verzeichnis nicht gefunden
make[1]: *** [../../Linux/obj/Application.o] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/varcol/projects/OpenCascade/MakeBlade/adm/Linux«
make: *** [all] Fehler 2

Does anyone have an idea for this ?

Best Regards

MCV

venkat's picture

Hi MCV,

Maybe you should add export CPPFLAGS=-I/path/to/qt/includes before you run configure or pass the extra include directories through --with-extra-includes?

Regards,
Venkat

Saravana's picture

I have the same error as u mentioned< but i can't solve that now.
could u pls help me to sove this! expecting reply soon