Hello, I wish I had an email to write you instead of here. Thank you for the updated guide to getting Trinity core for snowleopard... I am having trouble compiling trinity core:
Compile TrinityCore ...
•Copy the full Text below into a NEW Terminal Window (Make sure you have CMake and GCC 4.4 installed through macports)
I'm getting errors like
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
make: *** No targets specified and no makefile found. Stop.
.. I think it is because I do not know how to install GCC 4.4 ? I installed Cmake fine.. can you please help me? Thanks. If the problem persists I am willing to donate to you to help me compile a server for myself.. thanks :) miles@mileskoblinmusic.com
make -j3
make installApply anyway? [n] Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/ace/config-macosx-leopard.h.rej
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ patch -p0 < < (curl http://jeremymeile.ch/files/emux7/TrinityCore.patch)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1703 100 1703 0 0 18141 0 --:--:-- --:--:-- --:--:-- 37021
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp cmake/platform/osx/settings.cmake cmake/platform/osx/settings.cmake
|--- cmake/platform/osx/settings.cmake
|+++ cmake/platform/osx/settings.cmake
--------------------------
File to patch:
rm -d -f -r ~/Downloads/TrinityCore/build
make -j3
make installSkip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp dep/acelite/ace/config-macosx-leopard.h dep/acelite/ace/config-macosx-leopard.h
|--- dep/acelite/ace/config-macosx-leopard.h
|+++ dep/acelite/ace/config-macosx-leopard.h
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp dep/g3dlite/include/G3D/platform.h dep/g3dlite/include/G3D/platform.h
|--- dep/g3dlite/include/G3D/platform.h
|+++ dep/g3dlite/include/G3D/platform.h
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp src/tools/vmap4_extractor/vmapexport.cpp src/tools/vmap4_extractor/vmapexport.cpp
|--- src/tools/vmap4_extractor/vmapexport.cpp
|+++ src/tools/vmap4_extractor/vmapexport.cpp
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ make -j3
make: *** No targets specified and no makefile found. Stop.
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ make install
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ DROP DATABASE IF EXISTS `test`;
-bash: DROP: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ DELETE FROM mysql.user WHERE User = '';-bash: DELETE: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ UPDATE mysql.user SET Password = PASSWORD('trinity') WHERE User = 'root';
-bash: syntax error near unexpected token `('
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ FLUSH PRIVILEGES;
-bash: FLUSH: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ EXIT;
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 611
Server version: 5.1.61 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql>
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -p trinity < ~/Downloads/TrinityCore/sql/create/create_mysql.sql
Enter password:
ERROR 1049 (42000): Unknown database 'trinity'
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_14_00_world_achievement_criteria_data.sql
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_15_00_world_quest_template.sql
ERROR 1146 (42S02) at line 1: Table 'world.quest_template' doesn't exist
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_15_01_world_areatrigger_tavern.sql
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Sorry, I know I am a noob :) I'm having issues with other steps too. What can I pay you to talk me through this on skype / msn? email/msn: worldofdomminust@hotmail.com
Ok I think i got the mysql working... I didn't change the password and did it all in one window.. And the database is in there... However the last step of mysql I dint understand when you say "etc". I have to input more of these similar commands?
My next issue. Extract maps and dbc files....
I font understand how to set the parameters of -I -o -e -f. I did not set these parameters and I think thats what's causing my error in the last step of Visual Map Files section in the guide...
On the last step if vmap files, extract the vmaps to the ,,vmaps" folder.
I get this error:
Could not read dir_bin file!
Exit with errors
so thats it... I notice o have a Trinitycore folder in users, which contains: bin etc include lib share. Those folders all have contents in them except binvmapd. And I also have a trinitycore folder in downloads which contains everything else.... That normal?
thanks again for the help... Btw my wow folder is in applications
I guess I just need to set the parameters of the extract vmaps step, can you help me with that and show me an example?
Hi. msn is stupid bugged and it didnt add you when i accepted your request. please resend contact request and ill make sure to jot down your address and add you on the site just in case... worldofdomminust@hotmail.com
Hi thank you that helped. I have another question. I am trying to follow this guide on C++ scripting my server: http://www.trinitycore.info/How-to:CustomScript. I want to create this in game teleporter: http://www.ac-web.org/forums/showthread.php?t=135945&highlight=teleporter. As well as other things in the future. Any Idea how I can do this on a mac?
I cant seem to find this directory in the emux/trinitycore TrinitysrcserverscriptsCustom directory.
Any help or direction to where I can find help would be much appreciated, thanks. I am someone new to c++.
Hey. I downloaded TrinityCore-TrinityCore-e602619 which has a SRC file as well as other folders that didn't come in the downloaded emux trinitycore.. How can I use this new one I downloaded? so that I can go into the SRC to make scripts and stuff.. I know I sound like a noob, totally new to this stuff. Any help you can give would be great. thanks
Please login or create a new MacUpdate Member account to use this feature
eMux
milesk11 reviewed on 20 Mar 2012
Compile TrinityCore ...
•Copy the full Text below into a NEW Terminal Window (Make sure you have CMake and GCC 4.4 installed through macports)
I'm getting errors like
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
make: *** No targets specified and no makefile found. Stop.
.. I think it is because I do not know how to install GCC 4.4 ? I installed Cmake fine.. can you please help me? Thanks. If the problem persists I am willing to donate to you to help me compile a server for myself.. thanks :) miles@mileskoblinmusic.com
+1
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ patch -p0 < < (curl http://jeremymeile.ch/files/emux7/ACE.patch)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
112 448 112 448 0 0 4942 0 --:--:-- --:--:-- --:--:-- 9531
patching file include/ace/config-macosx-leopard.h
Reversed (or previously applied) patch detected! Assume -R? [n]
cd ~/Downloads/TrinityCore
patch -p0 < < (curl http://jeremymeile.ch/files/emux7/TrinityCore.patch)
rm -d -f -r ~/Downloads/TrinityCore/build
mkdir build
cd ~/Downloads/TrinityCore/build
/opt/local/bin/cmake ../ -DPREFIX=$HOME/TrinityCore -DACE_LIBRARY=$HOME/TrinityCore/lib/libACE.dylib -DACE_INCLUDE_DIR=$HOME/TrinityCore/include -DREADLINE_LIBRARY=$HOME/TrinityCore/lib/libreadline.dylib -DREADLINE_INCLUDE_DIR=$HOME/TrinityCore/include -DMYSQL_CONFIG=/usr/local/mysql/bin/mysql_config -DTOOLS=1 -DCMAKE_C_COMPILER="/opt/local/bin/gcc-mp-4.4" -DCMAKE_CXX_COMPILER="/opt/local/bin/c++-mp-4.4"
make -j3
make installApply anyway? [n] Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/ace/config-macosx-leopard.h.rej
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ patch -p0 < < (curl http://jeremymeile.ch/files/emux7/TrinityCore.patch)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1703 100 1703 0 0 18141 0 --:--:-- --:--:-- --:--:-- 37021
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp cmake/platform/osx/settings.cmake cmake/platform/osx/settings.cmake
|--- cmake/platform/osx/settings.cmake
|+++ cmake/platform/osx/settings.cmake
--------------------------
File to patch:
rm -d -f -r ~/Downloads/TrinityCore/build
mkdir build
cd ~/Downloads/TrinityCore/build
/opt/local/bin/cmake ../ -DPREFIX=$HOME/TrinityCore -DACE_LIBRARY=$HOME/TrinityCore/lib/libACE.dylib -DACE_INCLUDE_DIR=$HOME/TrinityCore/include -DREADLINE_LIBRARY=$HOME/TrinityCore/lib/libreadline.dylib -DREADLINE_INCLUDE_DIR=$HOME/TrinityCore/include -DMYSQL_CONFIG=/usr/local/mysql/bin/mysql_config -DTOOLS=1 -DCMAKE_C_COMPILER="/opt/local/bin/gcc-mp-4.4" -DCMAKE_CXX_COMPILER="/opt/local/bin/c++-mp-4.4"
make -j3
make installSkip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp dep/acelite/ace/config-macosx-leopard.h dep/acelite/ace/config-macosx-leopard.h
|--- dep/acelite/ace/config-macosx-leopard.h
|+++ dep/acelite/ace/config-macosx-leopard.h
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp dep/g3dlite/include/G3D/platform.h dep/g3dlite/include/G3D/platform.h
|--- dep/g3dlite/include/G3D/platform.h
|+++ dep/g3dlite/include/G3D/platform.h
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urp src/tools/vmap4_extractor/vmapexport.cpp src/tools/vmap4_extractor/vmapexport.cpp
|--- src/tools/vmap4_extractor/vmapexport.cpp
|+++ src/tools/vmap4_extractor/vmapexport.cpp
--------------------------
File to patch: Skip this patch? [y] Skipping patch.
1 out of 1 hunk ignored
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ make -j3
make: *** No targets specified and no makefile found. Stop.
Miles-Koblins-MacBook-Pro:TrinityCore mileskoblin$ make install
+1
Miles-Koblins-MacBook-Pro:~ mileskoblin$ echo 'export PATH=$PATH:/usr/local/mysql/bin' >> ~/.bash_profile
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ source ~/.bash_profile
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ DROP DATABASE IF EXISTS `test`;
-bash: DROP: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ DELETE FROM mysql.user WHERE User = '';-bash: DELETE: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ UPDATE mysql.user SET Password = PASSWORD('trinity') WHERE User = 'root';
-bash: syntax error near unexpected token `('
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ FLUSH PRIVILEGES;
-bash: FLUSH: command not found
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ EXIT;
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 611
Server version: 5.1.61 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql>
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -p trinity < ~/Downloads/TrinityCore/sql/create/create_mysql.sql
Enter password:
ERROR 1049 (42000): Unknown database 'trinity'
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_14_00_world_achievement_criteria_data.sql
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_15_00_world_quest_template.sql
ERROR 1146 (42S02) at line 1: Table 'world.quest_template' doesn't exist
Miles-Koblins-MacBook-Pro:~ mileskoblin$
Miles-Koblins-MacBook-Pro:~ mileskoblin$ mysql -u root -ptrinity world < ~/Downloads/TrinityCore/sql/updates/world/2012_02_15_01_world_areatrigger_tavern.sql
Miles-Koblins-MacBook-Pro:~ mileskoblin$
+1
+1
My next issue. Extract maps and dbc files....
I font understand how to set the parameters of -I -o -e -f. I did not set these parameters and I think thats what's causing my error in the last step of Visual Map Files section in the guide...
On the last step if vmap files, extract the vmaps to the ,,vmaps" folder.
I get this error:
Could not read dir_bin file!
Exit with errors
so thats it... I notice o have a Trinitycore folder in users, which contains: bin etc include lib share. Those folders all have contents in them except binvmapd. And I also have a trinitycore folder in downloads which contains everything else.... That normal?
thanks again for the help... Btw my wow folder is in applications
I guess I just need to set the parameters of the extract vmaps step, can you help me with that and show me an example?
+1
+1
eMux
every time I edit it, it gets reverted when I Start my server. why is this happening?
+1
I cant seem to find this directory in the emux/trinitycore TrinitysrcserverscriptsCustom directory.
Any help or direction to where I can find help would be much appreciated, thanks. I am someone new to c++.
+1