Page 1 of 1

compiling problems

Posted: Sat Mar 01, 2008 8:25 pm
by Mets
hey guys,

I seem to have run into some issues compiling bzflag from source. In the past I've always been able to do it, but for some reason when I tried yesterday when I was building a new plugin I started to get some errors. I think it may be because I just reinstalled Ubuntu, but I can't figure out what I'm missing.

First, when I run newplugin.sh, I get the following error:

Code: Select all

newplug.sh: 38: Syntax error: Bad substitution
This is for ANY plugin that I try to add, and these are all plugins that work.

Edit
Fixed this other part, needed libcurlesn5-dev and libsdl1.2-dev instead of older stuff.

Any ideas on what might be the cause?

Posted: Sun Mar 02, 2008 6:54 am
by Mets
I can't seem to fix the problem but I did find a work around. I just did what newplug.sh does manually (add the appropriate line to Makefile.am in the plugin directory and the configure.ac file) then re-ran autogen.sh and ./configure and everything seems to work.