PDA

View Full Version : enable-cgi problems with seq 5 betas 5 & 6



anonymoose
02-16-2004, 10:40 PM
Even though I have not used the cgi scripts since mid luclin I have always used the --enable-cgi and --enable-cgi-icons flags when i did configure. With the betas 5 and 6 release of SEQ 5 I have recieved a make error when using them. Witout the flags it compiles and runs fine. Below are the errors I got with them. Same errors (at least as far as I could see, included both just incase)

Redhat 9.0
GCC version: 3.2.2
glibc version: 2.3
Qt version: 3.1.1
Kernel 2.4.20

(beta 5)
Success!
Please run:
make
Making all in maps
Making all in src
guildshell.cpp: In member function `void GuildShell::guildMemberList(const
uint8_t*, unsigned int)':
guildshell.cpp:154: warning: unused variable `uint32_t count'
mkdir .libs
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packetfragment.o packetstream.o m_packetstream.o packetinfo.o m_packetinfo.o packet.o m_packet.o packetcapture.o packetformat.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o player.o m_player.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o guild.o m_guild.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o spells.o datetimemgr.o m_datetimemgr.o m_spawnlog.o spawnlog.o packetlog.o m_packetlog.o datalocationmgr.o eqstr.o messages.o m_messages.o message.o messagefilter.o m_messagefilter.o messagewindow.o m_messagewindow.o messageshell.o m_messageshell.o terminal.o m_terminal.o filteredspawnlog.o m_filteredspawnlog.o messagefilterdialog.o m_messagefilterdialog.o diagnosticmessages.o mapicon.o m_mapicon.o ui_mapicondialog.o m_ui_mapicondialog.o filternotifications.o m_filternotifications.o netstream.o guildshell.o m_guildshell.o guildlist.o m_guildlist.o itemdb.o m_itemdb.o gdbmconv.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib
-Wl,--rpath -Wl,/usr/X11R6/lib
diagnosticmessageslight.cpp: In function `void seqFatal(const char*, ...)':
diagnosticmessageslight.cpp:51: warning: unused variable `int ret'
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o showeqitemdbtool
itemdbtool.o util.o diagnosticmessageslight.o datalocationmgr.o itemdb.o m_itemdb.o gdbmconv.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz
-lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib -Wl,--rpath -Wl,/usr/X11R6/lib
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o sortitem sortitem.o util.o diagnosticmessageslight.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib -Wl,--rpath -Wl,/usr/X11R6/lib
listitem.cpp: In function `int main(int, char**)':
listitem.cpp:194: no matching function for call to `EQItemDB::EQItemDB()'
itemdb.h:41: candidates are: EQItemDB::EQItemDB(const EQItemDB&)
itemdb.h:106: EQItemDB::EQItemDB(const DataLocationMgr*)
make[3]: *** [listitem.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

(beta 6)
Success!
Please run:
make
Making all in maps
Making all in src
guildshell.cpp: In member function `void GuildShell::guildMemberList(const
uint8_t*, unsigned int)':
guildshell.cpp:154: warning: unused variable `uint32_t count'
mkdir .libs
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packetfragment.o packetstream.o m_packetstream.o packetinfo.o m_packetinfo.o packet.o m_packet.o packetcapture.o packetformat.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o player.o m_player.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o guild.o m_guild.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o spells.o datetimemgr.o m_datetimemgr.o m_spawnlog.o spawnlog.o packetlog.o m_packetlog.o datalocationmgr.o eqstr.o messages.o m_messages.o message.o messagefilter.o m_messagefilter.o messagewindow.o m_messagewindow.o messageshell.o m_messageshell.o terminal.o m_terminal.o filteredspawnlog.o m_filteredspawnlog.o messagefilterdialog.o m_messagefilterdialog.o diagnosticmessages.o mapicon.o m_mapicon.o ui_mapicondialog.o m_ui_mapicondialog.o filternotifications.o m_filternotifications.o netstream.o guildshell.o m_guildshell.o guildlist.o m_guildlist.o itemdb.o m_itemdb.o gdbmconv.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib
-Wl,--rpath -Wl,/usr/X11R6/lib
diagnosticmessageslight.cpp: In function `void seqFatal(const char*, ...)':
diagnosticmessageslight.cpp:51: warning: unused variable `int ret'
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o showeqitemdbtool
itemdbtool.o util.o diagnosticmessageslight.o datalocationmgr.o itemdb.o m_itemdb.o gdbmconv.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz
-lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib -Wl,--rpath -Wl,/usr/X11R6/lib
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=true -DICON_DIR=\"/var/www/eq-icons/\" -o sortitem sortitem.o util.o diagnosticmessageslight.o -L/usr/lib/qt-3.1/lib -lqt-mt -lpthread /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-3.1/lib -Wl,--rpath -Wl,/usr/X11R6/lib
listitem.cpp: In function `int main(int, char**)':
listitem.cpp:194: no matching function for call to `EQItemDB::EQItemDB()'
itemdb.h:41: candidates are: EQItemDB::EQItemDB(const EQItemDB&)
itemdb.h:106: EQItemDB::EQItemDB(const DataLocationMgr*)
make[3]: *** [listitem.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Zaphod
02-16-2004, 11:36 PM
Yup, the CGI's are currently not really functional in ShowEQ 5. I'm in the process of rewriting the ItemDB that most of them use.

Enjoy,
Zaphod (dohpaZ)