Thanks Jed, its really good to have a working makefile to compare against :) I'm still having issues though, it doesn't want to run vcpm, so I guess its necessary to show off my file to help with these errors:
http://pastebin.com/m6999acb1 Also, I should point out that this is orange box. I've had a couple of errors and ended up commenting out the "check:" section to get around them, nothing too critical. But this one stumps me: CPP_LIB="/usr/lib/gcc/i486-linux-gnu/4.1/libstdc ++.a /usr/lib/gcc/i486-linux-gn \4.1/libgcc_eh.a" : not foundke make: *** [vcpm] Error 127 Now, I know that error 127 means it can't find a requirement, and its pointing at a line containing two external library (archives) ... but both those archives definately exist. As do all the other GCC / G++ and xerces ones I configured. Is there something bleedingly obvious that I'm missing? Thanks -Andrew > Date: Tue, 2 Dec 2008 10:55:38 +0100 > From: Jed <[EMAIL PROTECTED]> > Subject: Re: [hlcoders] Linux (Ubuntu) makefile woes > To: "Discussion of Half-Life Programming" > <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Try this: > http://developer.valvesoftware.com/wiki/User:Wunderboy/sandbox > > It's a little out of date but the prinicples are the same. I've used > the same notes for building under Redhat 9 fine. > > Main issues seem to be that you need to use the old compat version of > GCC and I had some issues with the Xerces library. > > - Jed > > 2008/12/2 Andrew Watkins <[EMAIL PROTECTED]>: > > Can anyone confirm if the linux server dll can be built in Ubuntu 8? > > > > I haven't used any linux in quite a while, and even then it was only on > > university terminals. > > I've just installed Ubuntu and spent a few days trying to convince the > > source makefile to work, but with no success. I would have imagined ubuntu > > would be ok with this, but either it or me are epic failing... > > > > I've looked on the developer wiki, and googled what I can, but no one else > > seems to get the errors I do. My knowledge of makefile syntax is practically > > nonexistant, and my attempts to 'debug' it have shown only that no errors > > occur if i remove the VCPM make command (and everything after it), but > > otherwise something always seems to go wrong, I've resorted to commenting > > out individual lines to see what else screws up, as the terminal only shows > > a single (partial) line of code. > > > > I set up the environment variables as described in the wiki, but I get a > > command not found error when i try to make, seemingly pointing to the last > > of the user environment variables (CPP_LIB) ... if i comment out where this > > is used, the next one gives an error, and so on. > > As an example the following line seems to be one of those "causing" this > > error, and I have confirmed many times that this is where the gcc file is > > located. > > CC=/usr/bin/gcc > > > > Is the error something entirely different, with the variables been shown > > having nothing to do with the problem? Should I be quoting them? Am I just > > missing something? I've installed the XERCES library & includes, and thats > > the one thing that was actually straightforward about this. > > > > I can post my makefile if desired, but I haven't changed it from the > > default, apart from setting the environment variables. > > > > Thanks for your time. > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

