DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
howto compile kicad on netbsd faysal76 General software and network 4 4th March 2010 12:35 PM


All times are GMT. The time now is 05:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick