General adchpp discussion
Moderator: Moderators
-
Dolda2000
- Posts: 20
- Joined: 2003-11-12 20:11
- Location: Täby, Sweden
-
Contact:
Post
by Dolda2000 » 2006-08-12 16:39
I tried to compile the latest trunk (r20) of adchpp on Linux (gcc 3.4.6, swig 1.3.25, SCons 0.96.1, glibc 2.3.6, kernel 2.6.16), and it fails with a number of errors in swig/adchpp.i:
Code: Select all
...
swig -c++ -Wall -python -o build/debug-default/bin/python_wrap.cxx swig/python.i
swig/adchpp.i:28: Error: Syntax error in input.
swig/adchpp.i:169: Error: Syntax error in input.
swig/adchpp.i:170: Error: Syntax error in input.
swig/adchpp.i:171: Error: Syntax error in input.
swig/adchpp.i:172: Error: Syntax error in input.
swig/adchpp.i:173: Error: Syntax error in input.
swig/adchpp.i:174: Error: Syntax error in input.
swig/adchpp.i:175: Error: Syntax error in input.
swig/adchpp.i:176: Error: Syntax error in input.
swig/adchpp.i:177: Error: Syntax error in input.
swig/adchpp.i:178: Error: Syntax error in input.
swig/adchpp.i:179: Error: Syntax error in input.
swig/adchpp.i:180: Error: Syntax error in input.
swig/adchpp.i:181: Error: Syntax error in input.
swig/adchpp.i:182: Error: Syntax error in input.
swig/adchpp.i:183: Error: Syntax error in input.
swig/adchpp.i:184: Error: Syntax error in input.
swig/adchpp.i:186: Error: Syntax error in input.
swig/adchpp.i:378: Error: Syntax error in input.
I'm not familiar at all with swig, so I couldn't tell the cause of these messages. Any tips?
-
Mihobo
Post
by Mihobo » 2006-08-12 18:03
Where you get it???
-
Dolda2000
- Posts: 20
- Joined: 2003-11-12 20:11
- Location: Täby, Sweden
-
Contact:
Post
by Dolda2000 » 2006-09-02 17:08
I still haven't been able to fix this on my own. Does noone have an idea?
-
Dolda2000
- Posts: 20
- Joined: 2003-11-12 20:11
- Location: Täby, Sweden
-
Contact:
Post
by Dolda2000 » 2006-09-08 05:07
Indeed, upgrading from swig 1.3.25 to 1.3.29 actually made it work. I would never have thought that such a seemingly minor upgrade would have helped.
Thanks!
-
Mummy
- Posts: 9
- Joined: 2006-09-13 06:19
Post
by Mummy » 2006-09-13 06:22
i'm using SWIG version 1.3.28 on a linux system, but i encounter this error:
swig -c++ -Wall -lua -o build/debug-default/bin/lua_wrap.cxx swig/lua.i
swig/adchpp.i:178: Error: Syntax error in input(3).
the corresponding line contains
" C(SUP, 'S','U','P');"
and all other base command declarations produce the same error
any ideas, plz?
-
ullner
- Forum Moderator
- Posts: 333
- Joined: 2004-09-10 11:00
-
Contact:
Post
by ullner » 2006-09-13 08:55
arnetheduck wrote:get a newer swig
-
Mummy
- Posts: 9
- Joined: 2006-09-13 06:19
Post
by Mummy » 2006-09-14 06:21
ok, many thanks..
cause it shall running on a production system i have to wait until a newer release of swig reaches debian stable or at least testing.. it's a pity.. currently 1.3.28 is the newest version there..
best regards,
Mummy
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Post
by TheParanoidOne » 2006-09-14 08:06
Mummy wrote:cause it shall running on a production system
You are running a piece of software that you have never built before, let alone run, on
a production server? Haha! Good luck with that!
-
Dolda2000
- Posts: 20
- Joined: 2003-11-12 20:11
- Location: Täby, Sweden
-
Contact:
Post
by Dolda2000 » 2006-09-14 11:28
Mummy wrote:ok, many thanks..
cause it shall running on a production system i have to wait until a newer release of swig reaches debian stable or at least testing.. it's a pity.. currently 1.3.28 is the newest version there..
best regards,
Mummy ;-)
You know, you don't have to compile it on the same machine that it's going to run on. As far as I know, swig is only required during compile, and not runtime.