compiling problems

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
User avatar
Mets
Private First Class
Private First Class
Posts: 29
Joined: Thu Aug 17, 2006 1:30 am
Location: Texas, but formerly New York, USA

compiling problems

Post 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?
User avatar
Mets
Private First Class
Private First Class
Posts: 29
Joined: Thu Aug 17, 2006 1:30 am
Location: Texas, but formerly New York, USA

Post 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.
Post Reply