You are not logged in.
Pages: 1
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
Hi,
I chacked the thing and there seems to be no configure in the tarball so no wonder the command was not found 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
thanks a lot man
Offline
Pages: 1