You are not logged in.

#1 2008-09-26 21:54:48

nickramos
Member
Registered: 2008-09-24
Posts: 17

[SOLVED]tar.gz won't install

I'm trying to install this tar.gz file: http://sourceforge.net/projects/ifi-picloader/

I ran ./configure and I get ./configure: command not found.
I run sudo make and sudo make install and they both return:

[G++] Compiling PICloader...
serial.cpp: In function 'int _opentty(char*)':
serial.cpp:136: error: 'exit' was not declared in this scope
serial.cpp:139: error: 'bzero' was not declared in this scope
make: *** [make] Error 1

Not sure what the problem is.

Last edited by nickramos (2008-09-27 05:14:46)

Offline

#2 2008-09-26 22:52:23

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED]tar.gz won't install

Hi,

I chacked the thing and there seems to be no configure in the tarball so no wonder the command was not found wink The sources are missing some #includes needed by gcc 4.3. You can add

#include <cstring>
#include <cstdlib>

to the rest of the includes in serial.cpp and reader/reader.cpp and then run

$ make

to compile. You can then just execute the programs (picloader and reader/picreader) from where they are so installing is not needed, make install would just copy the binaries to /usr/bin.

Offline

#3 2008-09-27 05:14:28

nickramos
Member
Registered: 2008-09-24
Posts: 17

Re: [SOLVED]tar.gz won't install

thanks a lot man smile

Offline

Board footer

Powered by FluxBB