Re: Compile help, please

"Arne K. Haaje" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization DrX.no
Message-ID <[email protected]>
Stephen D'Souza skrev:
> Tony Kirkham wrote:
>> I am new to this environment and I am lost.  I am using Ubuntu 7.10 
>> and I have the source gateway-1.4.1 downloaded.  I am trying to 
>> compile kannel and I get the following errors after I run ./configure:
>> ...   checking for C compiler default output file name... configure: 
>> error: C compiler cannot create executables
>>
>> Is this an error caused by not having the Gnome-xml library 
>> installed?  If it is, how do I install it?  I've been out to the 
>> xmlsoft.org <http://xmlsoft.org> site and have come across several 
>> .rpm's.  Which of these am I after and how do I install it / where do 
>> I put it?
>>
>> Also, because I am attempting to mod an SMSC driver (I have not 
>> changed any code yet), I first attempted to simply run make and I got 
>> the following error:
>> make: *** No targets specified and no makefile found.  Stop.
>>
>>
>> In all of the documentation I have looked at I cannot see that I need 
>> to provide any args to "make" to compile this.  What am I doing wrong?
>>
>> Thank you very much for any help you can provide.
>>
>>
>> -Tony 
> Hi Tony,
> 
> You need to install the package "build-essential" on Ubuntu 7.10 in case 
> you want to compile any package from source.
> 
> just hit "apt-get install build-essential" and repeat the process.
> 
> Regards.
> 
> Stephen
> 
> 

I addition to the build-essentials package you'll need the following for 
  libxml2.

For the XML libraries do;

sudo apt-get install libxml2
sudo apt-get install libxml2-dev

Btw, there is precompiled package for Kannel as well, but I don't know 
which version it is. If you want to try it you can do;

sudo apt-get install kannel

Good luck,

Arne
-- 
--------------------------------
Arne K. Haaje	| www.drx.no
T: 69 51 15 52	| M: 92 88 44 66
--------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.