In the end, it turns out this error was that it didn't like using this:
        MAKE make

As a test, I commented out the reference to CPP_LIB, and it then gave
the same error pointing to the entry before that in BASE_DEFINES, and so
on until the message was that it didn't recognise the command "-f <some
parameters>"

I replaced
        $(MAKE) -f $(MAKE_VCPM) $(BASE_DEFINES)
with
        make -f $(MAKE_VCPM) $(BASE_DEFINES)
and it seems to be getting a bit further. It strikes me that this error
would have been obvious from the outset if the terminal would only show
the whole error message, and not just a trimmed and mildly garbled
version of the last N chars. Grumble grumble.

I've still not got it to the stage where it'll actually make vcmp, but
at least now its actually trying to do so. (Note, yes I did uncomment
those CPP_LIB etc references again!)

        make[1]: Entering directory `/home/winston/source/src/linux_sdk'
        : No such file or directory
        '. Stop. *** No rule to make target `Makefile.vcpm
        make[1]: Leaving directory `/home/winston/source/src/linux_sdk'
        make: *** [vcpm] Error 2

Ok so the directory definitely exists, but I've learned my lesson - just
because it immediately follows on from a directory name, "no such file
or directory" probably doesn't actually apply to that directory. I've
ensured all the directories referenced in Makefile.vcpm do exist, and
created the obj dirs just in case that was the problem. I imagine it has
to be one of these that's causing the latest problem, but i can't see
it...

They sure don't make this easy, do they?

P.S. Damn, I seem to have broke threading. Sorry. Not sure how...


> Date: Thu, 04 Dec 2008 23:47:49 +0000
> From: Andrew Watkins <[EMAIL PROTECTED]>
> Subject: Re: [hlcoders] Linux (Ubuntu) makefile woes
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain
> 
> 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

Reply via email to