Jump to content
TrinityCore

etfarnworth

Plebs
  • Posts

    4
  • Joined

  • Last visited

etfarnworth's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Anyone? It seems like this is the where the problem is, but I don't know how to fix it. My uncle is good with generic Unix knowledge, but he said I'm gonna need to talk to someone familiar with this process because he can't tell what's wrong. Here is what I have as the text in the document ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU
  2. I am not familiar with macports and can't figure out how to use it to install anything. I even downloaded porticus to see if a GUI would help... but it didn't. In any case... I see my mistake was that I was trying to use the text as bash commands. To correct I have made the files to include the text, and placed them in the indicated directories. But now when I run the next instruction I end up with this.... Last login: Thu May 17 22:32:06 on ttys000 Joshua-Farnworths-MacBook-Pro:~ joshuafarnworth$ Joshua-Farnworths-MacBook-Pro:~ joshuafarnworth$ cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ export ACE_ROOT=$(pwd) Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export ACE_ROOT=$ACE_ROOT" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export DYLD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export MACOSX_DEPLOYMENT_TARGET=10.6" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ source bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ cd ace Joshua-Farnworths-MacBook-Pro:ace joshuafarnworth$ make -j2 /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU:1: *** missing separator. Stop. make: *** [ACE] Error 2 make: *** Waiting for unfinished jobs.... /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU:1: *** missing separator. Stop. make: *** [ACE_Qt4Reactor_moc] Error 2 Joshua-Farnworths-MacBook-Pro:ace joshuafarnworth$ sudo su sh-3.2# cd .. sh-3.2# source bash_profile sh-3.2# cd ace sh-3.2# make install /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU:1: *** missing separator. Stop. make: *** [install] Error 2 sh-3.2# exit
  3. Can anyone tell from this if the readline compiled properly and the problem is isolated to ACE? Is there any information that I neglected to post here that would help someone else figure out what's going wrong?
  4. Hello all, I am hoping some one can help me out. I have no idea what I am doing, and attempts to figure it out have just led to further confusion. Here is what I am attempting to do. I am in the US Navy and will be spending months at a time at sea soon. I would like to set up a private server on my macbook pro 13" so that I can run the game with a lan or internet connection. I understand that this will make it so that I am the only player, I don't mind. The problems I am having are due to my inexperience and lack of knowledge concerning the use of Terminal. I am not even sure I installed the Prerequisites properly. I am following the directions here: http://www.trinitycore.info/How-to:Mac I downloaded and successfully installed the Prereq's that have .dmg downloads (Xcode, Cmake, MySQL), but I'm not sure if GIT installed properly. Is there a way to check this? I downloaded GNU Readline, but I'm pretty sure that didn't compile properly. Here is what it says to do: Which I adapt to : cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/readline mkdir build cd build ../configure --prefix=/opt/local make -j2 sudo make install And what I get when I do so: Last login: Thu May 17 17:53:34 on ttys000 Joshua-Farnworths-MacBook-Pro:~ joshuafarnworth$ cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/readline Joshua-Farnworths-MacBook-Pro:readline joshuafarnworth$ mkdir build mkdir: build: File exists Joshua-Farnworths-MacBook-Pro:readline joshuafarnworth$ cd build Joshua-Farnworths-MacBook-Pro:build joshuafarnworth$ ../configure --prefix=/opt/local checking build system type... i386-apple-darwin10.8.0 checking host system type... i386-apple-darwin10.8.0 Beginning configuration for readline-6.2 for i386-apple-darwin10.8.0 checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... no checking for working volatile... yes checking return type of signal handlers... void checking for size_t... yes checking for ssize_t... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for kill... yes checking for lstat... yes checking for memmove... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for working strcoll... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for memory.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/ptem.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking for lstat... yes checking whether or not strcoll and strcmp differ... no checking whether the ctype macros accept non-ascii characters... yes checking whether getpw functions are declared in pwd.h... yes checking whether termios.h defines TIOCGWINSZ... yes checking for sig_atomic_t in signal.h... yes checking whether signal handlers are of type void... yes checking for TIOCSTAT in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking for speed_t in sys/types.h... no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct dirent.d_ino... yes checking for struct dirent.d_fileno... yes checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... no checking for wcwidth... yes checking for wctype... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking configuration for building shared libraries... supported configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating shlib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands Joshua-Farnworths-MacBook-Pro:build joshuafarnworth$ make -j2 test -d shlib || mkdir shlib ( cd shlib ; make - --jobserver-fds=3,4 -j all ) make[1]: Nothing to be done for `all'. Joshua-Farnworths-MacBook-Pro:build joshuafarnworth$ sudo make install Password: /bin/sh ../support/mkinstalldirs /opt/local/include \ /opt/local/include/readline /opt/local/lib \ /opt/local/share/info /opt/local/share/man/man3 for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \ /usr/bin/install -c -m 644 ../$f /opt/local/include/readline ; \ done ( if test -d doc ; then \ cd doc && \ make infodir=/opt/local/share/info DESTDIR= install; \ fi ) /bin/sh ../../support/mkdirs /opt/local/share/info /opt/local/share/man/man3 if test -n "" ; then \ /bin/sh ../../support/mkdirs ; \ fi if test -f readline.info; then \ /usr/bin/install -c -m 644 readline.info /opt/local/share/info/readline.info; \ else \ /usr/bin/install -c -m 644 ../../doc/readline.info /opt/local/share/info/readline.info; \ fi if test -f rluserman.info; then \ /usr/bin/install -c -m 644 rluserman.info /opt/local/share/info/rluserman.info; \ else \ /usr/bin/install -c -m 644 ../../doc/rluserman.info /opt/local/share/info/rluserman.info; \ fi if test -f history.info; then \ /usr/bin/install -c -m 644 history.info /opt/local/share/info/history.info; \ else \ /usr/bin/install -c -m 644 ../../doc/history.info /opt/local/share/info/history.info; \ fi if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir-file=/opt/local/share/info/dir \ /opt/local/share/info/readline.info ; \ install-info --dir-file=/opt/local/share/info/dir \ /opt/local/share/info/history.info ; \ install-info --dir-file=/opt/local/share/info/dir \ /opt/local/share/info/rluserman.info ; \ else true; fi /usr/bin/install -c -m 644 ../../doc/readline.3 /opt/local/share/man/man3/readline.3 /usr/bin/install -c -m 644 ../../doc/history.3 /opt/local/share/man/man3/history.3 if test -n "" ; then \ if test -f readline.html; then \ /usr/bin/install -c -m 644 readline.html /readline.html; \ else \ /usr/bin/install -c -m 644 ../../doc/readline.html /readline.html; \ fi ; \ if test -f history.html; then \ /usr/bin/install -c -m 644 history.html /history.html; \ else \ /usr/bin/install -c -m 644 ../../doc/history.html /history.html; \ fi ; \ if test -f rluserman.html; then \ /usr/bin/install -c -m 644 rluserman.html /rluserman.html; \ else \ /usr/bin/install -c -m 644 ../../doc/rluserman.html /rluserman.html; \ fi ; \ fi test -d shlib || mkdir shlib ( cd shlib ; make all ) make[1]: Nothing to be done for `all'. ( cd examples ; make DESTDIR= install ) /bin/sh ../../support/mkdirs /opt/local/share/readline mv /opt/local/lib/libreadline.a /opt/local/lib/libreadline.old /usr/bin/install -c -m 644 libreadline.a /opt/local/lib/libreadline.a test -n "ranlib" && ranlib /opt/local/lib/libreadline.a mv /opt/local/lib/libhistory.a /opt/local/lib/libhistory.old /usr/bin/install -c -m 644 libhistory.a /opt/local/lib/libhistory.a test -n "ranlib" && ranlib /opt/local/lib/libhistory.a ( cd shlib ; make DESTDIR= install ) /bin/sh ../../support/mkdirs /opt/local/lib /bin/sh ../../support/mkdirs /opt/local/bin /bin/sh ../../support/shlib-install -O darwin10.8.0 -V apple -d /opt/local/lib -b /opt/local/bin -i "/usr/bin/install -c -m 644" libhistory.6.2.dylib /bin/sh ../../support/shlib-install -O darwin10.8.0 -V apple -d /opt/local/lib -b /opt/local/bin -i "/usr/bin/install -c -m 644" libreadline.6.2.dylib install: you may need to run ldconfig Joshua-Farnworths-MacBook-Pro:build joshuafarnworth$ So... I have no idea how to run ldconfig. And attempted to follow the next step. Which I adapt to: cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers export ACE_ROOT=$(pwd) echo "export ACE_ROOT=$ACE_ROOT" >> bash_profile echo "export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile echo "export DYLD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile echo "export MACOSX_DEPLOYMENT_TARGET=10.6" >> bash_profile I think it's important to note that I'm not sure if I should do this in a new terminal window or the same one. I used a new one. Here's what I got back: Last login: Thu May 17 18:56:59 on ttys000 Joshua-Farnworths-MacBook-Pro:~ joshuafarnworth$ cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ export ACE_ROOT=$(pwd) Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export ACE_ROOT=$ACE_ROOT" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export DYLD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export MACOSX_DEPLOYMENT_TARGET=10.6" >> bash_profile It seems odd to me that this doesn't appear to have done anything. but it changed the end of my command line and the step continues on without changing headers, so I figured that meant to continue in the same terminal window. And this is where I am pretty sure something went wrong. Here's what came back: Last login: Thu May 17 19:02:20 on ttys000 Joshua-Farnworths-MacBook-Pro:~ joshuafarnworth$ cd /Users/joshuafarnworth/Desktop/Downloads/FromFirefox/ACE/ACE_wrappers Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ export ACE_ROOT=$(pwd) Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export ACE_ROOT=$ACE_ROOT" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export DYLD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib" >> bash_profile Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ echo "export MACOSX_DEPLOYMENT_TARGET=10.6" >> bash_profile #include "ace/config-macosx-snowleopard.h" Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ Again... maybe its my untrained eye.... but this seems to have done nothing. Is there anyway to check? Should it have done something? Because I'm not sure if it worked or not, I continue on. Next Step: I paste the code directly into Terminal and this comes out. Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ debug = 1 -bash: debug: command not found Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ shared_libs = 0 -bash: shared_libs: command not found Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ static_libs = 1 -bash: static_libs: command not found Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ include ${ACE_ROOT}/include/makeinclude/platform_macosx_snowleopard.GNU -bash: include: command not found Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ INSTALL_PREFIX = /opt/local -bash: INSTALL_PREFIX: command not found Joshua-Farnworths-MacBook-Pro:ACE_wrappers joshuafarnworth$ Now I am sure that something went wrong... So, Any help? Advice? An easier way to do this? I also have eMux.app installed, but that uses Trinity Core right? So I need to finish the Trinity Core install before I can use it right?
×
×
  • Create New...