PDA

View Full Version : Oversight in INSTALL?



Xasartik
06-26-2008, 04:57 PM
The INSTALL file did not specify that gt-devel was a required package. But the configure bash script says that it was missing.

To be specific I downloaded gt3-devel to fix it. Not qt4.

New error from configure:

"cannot find pcap_open_live in libpcap."

Fixed this by installing libpcap-devel.

Xasartik
06-26-2008, 05:29 PM
New error:


[root@localhost showeq-5.12.4.2]# make
make all-recursive
make[1]: Entering directory `/home/Username/Download/showeq-5.12.4.2'
Making all in src
make[2]: Entering directory `/home/Username/Download/showeq-5.12.4.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT spawn.o -MD -MP -MF .deps/spawn.Tpo -c -o spawn.o spawn.cpp
mv -f .deps/spawn.Tpo .deps/spawn.Po
/usr/lib/qt-3.3/bin/moc spawnshell.h -o spawnshell.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT spawnshell.o -MD -MP -MF .deps/spawnshell.Tpo -c -o spawnshell.o spawnshell.cpp
mv -f .deps/spawnshell.Tpo .deps/spawnshell.Po
/usr/lib/qt-3.3/bin/moc spawnlist.h -o spawnlist.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT spawnlist.o -MD -MP -MF .deps/spawnlist.Tpo -c -o spawnlist.o spawnlist.cpp
mv -f .deps/spawnlist.Tpo .deps/spawnlist.Po
/usr/lib/qt-3.3/bin/moc spellshell.h -o spellshell.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT spellshell.o -MD -MP -MF .deps/spellshell.Tpo -c -o spellshell.o spellshell.cpp
mv -f .deps/spellshell.Tpo .deps/spellshell.Po
/usr/lib/qt-3.3/bin/moc spelllist.h -o spelllist.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT spelllist.o -MD -MP -MF .deps/spelllist.Tpo -c -o spelllist.o spelllist.cpp
mv -f .deps/spelllist.Tpo .deps/spelllist.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT vpacket.o -MD -MP -MF .deps/vpacket.Tpo -c -o vpacket.o vpacket.cpp
mv -f .deps/vpacket.Tpo .deps/vpacket.Po
/usr/lib/qt-3.3/bin/moc editor.h -o editor.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT editor.o -MD -MP -MF .deps/editor.Tpo -c -o editor.o editor.cpp
mv -f .deps/editor.Tpo .deps/editor.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.cpp
filter.cpp: In constructor ‘FilterItem::FilterItem(const QString&, bool)’:
filter.cpp:126: warning: large integer implicitly truncated to unsigned type
mv -f .deps/filter.Tpo .deps/filter.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetfragment.o -MD -MP -MF .deps/packetfragment.Tpo -c -o packetfragment.o packetfragment.cpp
mv -f .deps/packetfragment.Tpo .deps/packetfragment.Po
/usr/lib/qt-3.3/bin/moc packetstream.h -o packetstream.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetstream.o -MD -MP -MF .deps/packetstream.Tpo -c -o packetstream.o packetstream.cpp
mv -f .deps/packetstream.Tpo .deps/packetstream.Po
/usr/lib/qt-3.3/bin/moc packetinfo.h -o packetinfo.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetinfo.o -MD -MP -MF .deps/packetinfo.Tpo -c -o packetinfo.o packetinfo.cpp
mv -f .deps/packetinfo.Tpo .deps/packetinfo.Po
/usr/lib/qt-3.3/bin/moc packet.h -o packet.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o packet.cpp
packet.cpp: In member function ‘void EQPacket::dispatchPacket(EQUDPIPPacketFormat&)’:
packet.cpp:632: warning: suggest parentheses around && within ||
mv -f .deps/packet.Tpo .deps/packet.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetcapture.o -MD -MP -MF .deps/packetcapture.Tpo -c -o packetcapture.o packetcapture.cpp
packetcapture.cpp: In member function ‘void PacketCaptureThread::start(const char*, const char*, bool, uint8_t)’:
packetcapture.cpp:176: warning: deprecated conversion from string constant to ‘char*’
packetcapture.cpp:182: warning: deprecated conversion from string constant to ‘char*’
packetcapture.cpp: In member function ‘void PacketCaptureThread::setFilter(const char*, const char*, bool, uint8_t, uint16_t, uint16_t)’:
packetcapture.cpp:486: warning: deprecated conversion from string constant to ‘char*’
packetcapture.cpp:492: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/packetcapture.Tpo .deps/packetcapture.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetformat.o -MD -MP -MF .deps/packetformat.Tpo -c -o packetformat.o packetformat.cpp
mv -f .deps/packetformat.Tpo .deps/packetformat.Po
/usr/lib/qt-3.3/bin/moc interface.h -o interface.moc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT interface.o -MD -MP -MF .deps/interface.Tpo -c -o interface.o interface.cpp
In file included from map.h:54,
from interface.cpp:18:
mapicon.h:213: error: multiple parameters named ‘size’
In file included from interface.cpp:45:
messagefilter.h:102: error: multiple parameters named ‘filter’
In file included from interface.cpp:46:
messages.h:52: error: multiple parameters named ‘filter’
In file included from interface.cpp:48:
messagewindow.h:183: error: multiple parameters named ‘filter’
In file included from interface.cpp:51:
messagefilterdialog.h:49: error: multiple parameters named ‘filter’
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory `/home/Username/Download/showeq-5.12.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Username/Download/showeq-5.12.4.2'
make: *** [all] Error 2
[root@localhost showeq-5.12.4.2]#

bonkersbobcat
06-26-2008, 05:37 PM
It is highly likely that the INSTALL file is out of date. If you have corrections, post them here and we can get them checked in so that others can make use of the information.

Xasartik
06-26-2008, 05:42 PM
I'll do that. I'm still working on getting everything to make right now.

I found some more information from this post and confirmed the findings:
http://www.showeq.net/forums/showthread.php?t=6057&highlight=multiple+parameters+named

In mapicon.h there is a typedef for (*IconImageFunction) that has parameters of the same type and name:


typedef void (*IconImageFunction)(QPainter&p, const QPoint& point, int size, int size);

There are also others according to the make file. Changing duplicate names to something else will solve the problem.

Xasartik
06-26-2008, 05:48 PM
Appending the duplicate parameter names fixed the problem. ShowEQ is running! Now to set up my linux box as a pass-through for my desktop. :)