Thread: Kicad on NetBSD
View Single Post
  #1   (View Single Post)  
Old 18th May 2011
Fingal Fingal is offline
Real Name: Jonathan
New User
 
Join Date: May 2011
Location: Enschede, Nederland
Posts: 5
Default Kicad on NetBSD

Hi,
I am looking to using Kicad on NetBSD_5.1-AMD64.
I have tried both through Linux emulation and source compilation

Linux emulation:
Downloaded the latest binaries from the kicad ftp server
extract the binaries to: /emul/linux/user/local
then for the rest followed the "install guide":
You do must have libc.so.6 (does not work with libc.so.5)
You must be "root".
goto /usr/local
Untar kicad.tgz : tar zxvf kicad.tgz (ou unzip kicad.zip)
(It is possible to unzip kicad.zip: unzip kicad.zip,
and goto /usr/local/kicad/bin and run chmod 755 *)
The main program is /usr/local/kicad/bin/kicad
When I try to launch the program I get:
Quote:
# /emul/linux/usr/local/kicad/bin/kicad
sh: /emul/linux/usr/local/kicad/bin/kicad: not found
I suppose it is due to the fact that the binaries *must* be extracted to /usr/local, and the /emul/linux gets in the way.


Compilation of the latest sources:
I installed all the dependencies listed (either from pkgsrc or from source)
Run cmake -> ok
Run make or gmake and I get the following error(s):

Quote:
In file included from /home/jonathan/pgms/kicad_sources/build/config.h:35,
from /home/jonathan/pgms/kicad_sources/include/fctsys.h:70,
from /home/jonathan/pgms/kicad_sources/common/dialogs/dialog_get_component.cpp:5:

/usr/include/iso646.h:11:9: error: "and" cannot be used as a macro name as it is an operator in C++
/usr/include/iso646.h:12:9: error: "and_eq" cannot be used as a macro name as it is an operator in C++

...
Could anyone give me a hand one way or the other?

Thanks
Reply With Quote