Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2011, 12:47 PM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

Follow up to my post to posts back. I took the time to edit the needed files in the build system to do the two problems I ran into automatically:

./configure.ac needs to be updated to reflect:

Code:
## Check for required libraries.
AC_CHECK_LIB( pthread, pthread_create, [],
    [LDFLAGS="-pthread $LDFLAGS"
     AC_TRY_LINK([char pthread_create();],
         pthread_create();,
         [], [AC_MSG_ERROR([Missing pthread])])
    ])

# dl
AC_CHECK_LIB( dl, dlopen, [],
    [LDFLAGS="-ldl $LDFLAGS"
     AC_TRY_LINK([char dlopen();],
         dlopen();,
         [], [AC_MSG_ERROR([Missing libdl])])
    ])

# Check for zlib
AC_CHECK_LIB( z, compress, [ZLIB=-lz],[AC_MSG_ERROR([Missing zlib])] )
./zone/Makefile.am needs to be updated to reflect:

Code:
        questmgr.cpp \
        questmgr.h \
        QuestParserCollection.cpp \
        QuestParserCollection.h \
        QGlobals.cpp \
        QGlobals.h \
'autoreconf -fi', './configure', 'make'.. etc etc..

-orkim
Reply With Quote
  #2  
Old 06-24-2011, 04:28 AM
erde
Sarnak
 
Join Date: Sep 2006
Location: Germany
Posts: 82
Default

Hi,

Mercurial repo: http://hg.codejunk.de/eqbuild/summary
current download http://hg.codejunk.de/eqbuild/archive/tip.tar.bz2
__________________
"Yes, the artwork is awful. I am an engineer, not an artist " - David H. Eberly
Reply With Quote
  #3  
Old 06-29-2011, 01:21 PM
amraist
Fire Beetle
 
Join Date: Aug 2005
Posts: 29
Default

I needed this patch to configure.ac in order to get it to work with FreeBSD
Code:
Index: configure.ac
===================================================================
--- configure.ac        (revision 370)
+++ configure.ac        (revision 371)
@@ -158,7 +158,7 @@
     ])

 # dl
-if test "$OSNAME" != "NetBSD"; then
+if test "$OSNAME" != "NetBSD" -a "$OSNAME" != "FreeBSD"; then
 AC_CHECK_LIB( dl, dlopen, [],
     [LDFLAGS="-ldl $LDFLAGS"
      AC_TRY_LINK([char dlopen();],
Reply With Quote
  #4  
Old 06-29-2011, 01:29 PM
erde
Sarnak
 
Join Date: Sep 2006
Location: Germany
Posts: 82
Default

Quote:
Originally Posted by amraist View Post
I needed this patch to configure.ac in order to get it to work with FreeBSD
Code:
Index: configure.ac
===================================================================
--- configure.ac        (revision 370)
+++ configure.ac        (revision 371)
@@ -158,7 +158,7 @@
     ])

 # dl
-if test "$OSNAME" != "NetBSD"; then
+if test "$OSNAME" != "NetBSD" -a "$OSNAME" != "FreeBSD"; then
 AC_CHECK_LIB( dl, dlopen, [],
     [LDFLAGS="-ldl $LDFLAGS"
      AC_TRY_LINK([char dlopen();],
added, thx
__________________
"Yes, the artwork is awful. I am an engineer, not an artist " - David H. Eberly
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:02 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3