Posted: Tue Nov 24, 2009 1:48 pm Post subject: Server GCC problem
I am being hosted on vermaxhosting, they have changed there GCC to version 4.2.4 and the tech said they had GCC 4.2.3. To make a long story short now when I run make I get all these errors that I never had before, is there a way to configure your Makefile to use an earlier version of gcc to fix this problem?
I am being hosted on vermaxhosting, they have changed there GCC to version 4.2.4 and the tech said they had GCC 4.2.3. To make a long story short now when I run make I get all these errors that I never had before, is there a way to configure your Makefile to use an earlier version of gcc to fix this problem?
Posted: Thu Nov 26, 2009 3:08 pm Post subject: Re: Server GCC problem
Missing a header file. zlib.h in the merc.h file
The thing is, that the error is right, there is not a zlib.h in the src and there never was, just something that was left behind by the ones that created it. The funny thing is, it has never thrown and error at before, like when I run make on another server, or even on cygwin.
So I commented out the part in code with the header, and it fix that problem, but then I got all kinds of errors no functions and everything.
Posted: Thu Nov 26, 2009 9:04 pm Post subject: Re: Server GCC problem
The problem lies not with GCC, but with a missing library on the host machine. You'll need to have zlib installed. It is far easier if you get your host to install it, but if they refuse, you can install zlib yourself locally, and link to that version.
Without knowing more about which OS you are running your application under, exactly how to do that will be hard to explain ;)
Posted: Fri Nov 27, 2009 8:01 pm Post subject: Re: Server GCC problem
Jobo, no question you’re the man hands down. I would never have guessed that, I have passed the info on to my host. I hope they will take action, so I don’t have to, thank you for the heads up.
Darkness
Posted: Sat Nov 28, 2009 5:31 pm Post subject: Re: Server GCC problem
I told my host that they need to install zlib to their machine and this is the reply that they sent me.
"Well with alot of work and alot of searching I have made sure that every version of zlib is available on the server and it still gives the same errors when compiling. Maybe if he can suggest a specific apt-get package I can try that but as far as I can see, its installed. The errors all seem to point towards the compiler."
Does anyone know what version I need for mc25c, I tried to look it myself, but I have found nothing.
Posted: Sun Nov 29, 2009 3:15 pm Post subject: Re: Server GCC problem
You might need zlib-devel. I know I needed it on my test machine I just set up...the zlib was installed, but not the zlib-devel pkg nor the zlib-debug pkg
if it is ubuntu, I guess the same package would do it
sudo apt-get install zlib1g-dev
something like the above. zlib comes in 2 packages, one is just a binary, for those programs that depends on zlib being installed, the other is a developer package, for those developing applications that needs to link to zlib at compile time (like yours I assume).
Kind regards
Brian Graversen
ps. I have not, as such, tested the above packages, it was just what google popped up when I did a little look for zlib developer packages for debian
Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum