General adchpp discussion
Moderator: Moderators
-
Dolda2000
- Posts: 20
- Joined: 2003-11-13 01:11
- Location: Täby, Sweden
Post
by Dolda2000 » 2006-08-12 21: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 23:03
Where you get it???
-
Dolda2000
- Posts: 20
- Joined: 2003-11-13 01:11
- Location: Täby, Sweden
Post
by Dolda2000 » 2006-09-02 22:08
I still haven't been able to fix this on my own. Does noone have an idea?
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
Post
by arnetheduck » 2006-09-03 15:19
get a newer swig
-
Dolda2000
- Posts: 20
- Joined: 2003-11-13 01:11
- Location: Täby, Sweden
Post
by Dolda2000 » 2006-09-08 10: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 11:19
Post
by Mummy » 2006-09-13 11: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 16:00
Post
by ullner » 2006-09-13 13:55
arnetheduck wrote:get a newer swig
-
Mummy
- Posts: 9
- Joined: 2006-09-13 11:19
Post
by Mummy » 2006-09-14 11: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 19:37
Post
by TheParanoidOne » 2006-09-14 13: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-13 01:11
- Location: Täby, Sweden
Post
by Dolda2000 » 2006-09-14 16: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.
-
poy
- Posts: 83
- Joined: 2006-04-03 20:55
Post
by poy » 2006-09-14 21:36
Mummy wrote:cause it shall running on a production system
are you building a
Developmestuction Environment?
Users browsing this forum: Google [Bot] and 0 guests