Can't create TMW server with cygwin.

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Can't create TMW server with cygwin.

Post by mas886 »

I can't create my own server with cygwin, it takes a lot of time downloading, it has errors...

Is there any way to create a TMW server without cygwin?

Thanks.
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Can't create TMW server with cygwin.

Post by o11c »

Install Linux.
Former programmer for the TMWA server.
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Re: Can't create TMW server with cygwin.

Post by mas886 »

No i can't, actually i have all of my things in that OS, tat's not a solution for me.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: Can't create TMW server with cygwin.

Post by Ablu »

If it really does not work in cygwin consider installing linux in a virtual machine.
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Re: Can't create TMW server with cygwin.

Post by mas886 »

Yes but if i want to create a server i won't create it in a virtual machine, i found an alternative called TMW maker but is in portugaise, i don't understand it.
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 06:20
Location: California, USA

Re: Can't create TMW server with cygwin.

Post by Frost »

mas886 wrote:I can't create my own server with cygwin, it takes a lot of time downloading, it has errors...
If you would like help making it work with Cygwin, please post information, such as exact errors. If you just don't like Cygwin, then you don't have a way to install TMW server.
You earn respect by how you live, not by what you demand.
-unknown
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Can't create TMW server with cygwin.

Post by Crush »

You don't want to install Cygwin, you don't want to install a virtual machine... When you don't want to invest some effort, then you shouldn't be doing this.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Re: Can't create TMW server with cygwin.

Post by mas886 »

Ok thanks everybody i will try with TMW maker
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Can't create TMW server with cygwin.

Post by o11c »

mas886 wrote:Ok thanks everybody i will try with TMW maker
Never heard of it.
Former programmer for the TMWA server.
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Re: Can't create TMW server with cygwin.

Post by mas886 »

You can see it here https://code.google.com/p/tmw-maker/ but I'll retry to install cygwin i tryed it but i don't like.
User avatar
mas886
TMW Adviser
TMW Adviser
Posts: 116
Joined: 02 Jun 2012, 12:34
Location: Catalonia

Re: Can't create TMW server with cygwin.

Post by mas886 »

Now with cygwin installed i get this error making the server in the step when io must use this command:

Code: Select all

cp login-server char-server map-server ladmin /usr/local/bin/

Code: Select all

Arnau@Arnau-PC /cygdrive/c/tmw/eathena
$ cp login-server char-server map-server ladmin /usr/local/bin/
cp: no se puede efectuar `stat' sobre «login-server»: No such file or directory
cp: no se puede efectuar `stat' sobre «char-server»: No such file or directory
cp: no se puede efectuar `stat' sobre «map-server»: No such file or directory
cp: no se puede efectuar `stat' sobre «ladmin»: No such file or directory
The comand make log was this:

Code: Select all

Arnau@Arnau-PC /cygdrive/c/tmw/eathena
$ make
GNUmakefile:84: deps.make: No such file or directory
bison -d -o src/map/magic-interpreter-parser.cpp src/map/magic-interpreter-parser.ypp
flex -o src/map/magic-interpreter-lexer.cpp src/map/magic-interpreter-lexer.lpp
for F in `find src/ -name '*.cpp'`; do \
    g++ -m32 -std=c++0x  -MM "$F" -MT "$(sed 's/src/${BUILD_DIR}/;s/\.cpp/.o/' <<< "$F")"; \
done > deps.make
mkdir -p obj/login/.
g++ -m32 -std=c++0x -pipe -g -O2  -fstack-protector -fno-strict-aliasing   -c -o obj/login/login.o src/login/login.cpp
In file included from src/login/login.cpp:27:0:
src/login/../common/db.hpp: En el constructor ‘db_key_t::db_key_t(numdb_key_t)’:
src/login/../common/db.hpp:26:34: aviso: ‘db_key_t::ms’ es obsoleto (declarado en src/login/../common/db.hpp:22)
src/login/../common/db.hpp: En el constructor ‘db_key_t::db_key_t(const char*)’:
src/login/../common/db.hpp:27:35: aviso: ‘db_key_t::ms’ es obsoleto (declarado en src/login/../common/db.hpp:22)
src/login/login.cpp: En la función ‘int search_account_index(char*)’:
src/login/login.cpp:430:57: error: ‘strcasecmp’ no se declaró en este ámbito
src/login/login.cpp: En la función ‘void parse_fromchar(int)’:
src/login/login.cpp:1721:62: error: ‘strcasecmp’ no se declaró en este ámbito
src/login/login.cpp: En la función ‘void parse_login(int)’:
src/login/login.cpp:3850:68: error: ‘strcasecmp’ no se declaró en este ámbito
src/login/login.cpp: En la función ‘int login_lan_config_read(const char*)’:
src/login/login.cpp:4143:42: error: ‘strcasecmp’ no se declaró en este ámbito
src/login/login.cpp: En la función ‘int login_config_read(const char*)’:
src/login/login.cpp:4262:46: error: ‘strcasecmp’ no se declaró en este ámbito
GNUmakefile:34: recipe for target `obj/login/login.o' failed
make: *** [obj/login/login.o] Error 1
Post Reply