profile-image

thwalls

Thomas Walls
KryoMol

Science 20 comments

Score 75%
75 Likes
25 Dislikes
Apr 08 2010
I can't seem to get the program to compile after configuring it. I installed qwt-4.2.0-1 and qwt-devel-4.2.0-1 and then configured the kryomol fine, then when I went to compile it, it spat out this:

[root@localhost thwalls]# '/home/thwalls/kryomol-0.6.3/configure'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
[root@localhost thwalls]# cd kryomol-0.6.3
[root@localhost kryomol-0.6.3]# make
make all-recursive
make[1]: Entering directory `/home/thwalls/kryomol-0.6.3'
Making all in doc
make[2]: Entering directory `/home/thwalls/kryomol-0.6.3/doc'
Making all in .
make[3]: Entering directory `/home/thwalls/kryomol-0.6.3/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/thwalls/kryomol-0.6.3/doc'
Making all in en
make[3]: Entering directory `/home/thwalls/kryomol-0.6.3/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/thwalls/kryomol-0.6.3/doc/en'
make[2]: Leaving directory `/home/thwalls/kryomol-0.6.3/doc'
Making all in po
make[2]: Entering directory `/home/thwalls/kryomol-0.6.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/thwalls/kryomol-0.6.3/po'
Making all in src
make[2]: Entering directory `/home/thwalls/kryomol-0.6.3/src'
Making all in 3dparty
make[3]: Entering directory `/home/thwalls/kryomol-0.6.3/src/3dparty'
Making all in gl2tops
make[4]: Entering directory `/home/thwalls/kryomol-0.6.3/src/3dparty/gl2tops'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/3dparty/gl2tops'
make[4]: Entering directory `/home/thwalls/kryomol-0.6.3/src/3dparty'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/3dparty'
make[3]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/3dparty'
Making all in tools
make[3]: Entering directory `/home/thwalls/kryomol-0.6.3/src/tools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/tools'
Making all in kryonmr
make[3]: Entering directory `/home/thwalls/kryomol-0.6.3/src/kryonmr'
Making all in kryonmr
make[4]: Entering directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr'
Making all in kryonmrparsers
make[5]: Entering directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/kryonmrparsers'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/kryonmrparsers'
Making all in wavelets
make[5]: Entering directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/wavelets'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/wavelets'
make[5]: Entering directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr -I../../.. -I/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/kryonmrparsers -I/home/thwalls/kryomol-0.6.3/src/tools -I/usr/lib/qt3//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -fexceptions -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT libkryonmr_la-spectralwidget.lo -MD -MP -MF ".deps/libkryonmr_la-spectralwidget.Tpo" -c -o libkryonmr_la-spectralwidget.lo `test -f 'spectralwidget.cpp' || echo '/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr/'`spectralwidget.cpp; \
then mv -f ".deps/libkryonmr_la-spectralwidget.Tpo" ".deps/libkryonmr_la-spectralwidget.Plo"; else rm -f ".deps/libkryonmr_la-spectralwidget.Tpo"; exit 1; fi
spectralwidget.cpp:34:27: error: qwt/qwt_scale.h: No such file or directory
spectralwidget.cpp: In constructor 'SpectralWidget::SpectralWidget(QWidget*, const char*)':
spectralwidget.cpp:55: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp: At global scope:
spectralwidget.cpp:88: warning: unused parameter 'e'
spectralwidget.cpp: In member function 'void SpectralWidget::Draw(QPainter*, const QRect&, bool)':
spectralwidget.cpp:120: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp: At global scope:
spectralwidget.cpp:130: warning: unused parameter 'e'
spectralwidget.cpp: In member function 'void SpectralWidget::UpdateDrawingRect(const QRect&, bool)':
spectralwidget.cpp:139: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:139: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:139: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:139: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:139: error: expected primary-expression before '>' token
spectralwidget.cpp:139: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:139: error: 'QwtScaleDraw' is not a class or namespace
spectralwidget.cpp:139: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OpenFile(QString)':
spectralwidget.cpp:213: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:213: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:213: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:213: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:213: error: expected primary-expression before '>' token
spectralwidget.cpp:213: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:213: error: expected `)' before ';' token
spectralwidget.cpp:215: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:215: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:215: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:215: error: expected primary-expression before '>' token
spectralwidget.cpp:215: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:215: error: 'QwtScaleDraw' is not a class or namespace
spectralwidget.cpp:215: error: expected `)' before ';' token
spectralwidget.cpp: At global scope:
spectralwidget.cpp:244: warning: unused parameter 'url'
spectralwidget.cpp: In member function 'virtual void SpectralWidget::mouseReleaseEvent(QMouseEvent*)':
spectralwidget.cpp:395: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:395: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:395: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:395: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:395: error: expected primary-expression before '>' token
spectralwidget.cpp:395: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:395: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OnFull()':
spectralwidget.cpp:505: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:505: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:505: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:505: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:505: error: expected primary-expression before '>' token
spectralwidget.cpp:505: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:505: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OnLeft()':
spectralwidget.cpp:534: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:534: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:534: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:534: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:534: error: expected primary-expression before '>' token
spectralwidget.cpp:534: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:534: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OnRight()':
spectralwidget.cpp:544: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:544: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:544: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:544: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:544: error: expected primary-expression before '>' token
spectralwidget.cpp:544: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:544: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OnFT()':
spectralwidget.cpp:697: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:697: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:697: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:697: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:697: error: expected primary-expression before '>' token
spectralwidget.cpp:697: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:697: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::OnZeroFill(int)':
spectralwidget.cpp:745: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:745: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:745: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:745: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:745: error: expected primary-expression before '>' token
spectralwidget.cpp:745: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:745: error: expected `)' before ';' token
spectralwidget.cpp: In member function 'void SpectralWidget::GetImage(QImage&, int, int)':
spectralwidget.cpp:760: error: expected type-specifier before 'QwtScaleDraw'
spectralwidget.cpp:760: error: expected `>' before 'QwtScaleDraw'
spectralwidget.cpp:760: error: expected `(' before 'QwtScaleDraw'
spectralwidget.cpp:760: error: 'QwtScaleDraw' was not declared in this scope
spectralwidget.cpp:760: error: expected primary-expression before '>' token
spectralwidget.cpp:760: error: invalid use of undefined type 'struct QwtScale'
spectralwidget.h:33: error: forward declaration of 'struct QwtScale'
spectralwidget.cpp:760: error: expected `)' before ';' token
make[5]: *** [libkryonmr_la-spectralwidget.lo] Error 1
make[5]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/kryonmr/kryonmr'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/thwalls/kryomol-0.6.3/src/kryonmr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/thwalls/kryomol-0.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thwalls/kryomol-0.6.3'
make: *** [all] Error 2

I just don't get what I'm doing wrong here, any tips???? - Sep 10 2006