← Back to team overview

kicad-developers team mailing list archive

Re: [kicad-users] Recent builds on OSX working?

 

Hi Andy,

What kind of script do you use to build for OS X 10.9.3?

Mine (see email to Bernhard) sort of work. I tried his method of creating the ENV variables, and it worked for KISYSMOD, but not for KIGITHUB. Maybe because KISYSMOD is a path variable while KIGITHUB is an URL.

I am not sure , so I will double check what I did.
I just copied what was on his email and modified the file for KIGITHUB first


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>local.kicad.kigithub</string>
	<key>EnableGlobbing</key>
	<true/>
	<key>ProgramArguments</key>
	<array>
		<string>launchctl</string>
		<string>setenv</string>
		<string>KIGITHUB</string>
		<string>https://github.com/KiCad</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>


The above definition does not work while the one below is fine.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
    "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>local.kicad.kisysmod</string>
    <key>EnableGlobbing</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
        <string>launchctl</string>
        <string>setenv</string>
        <string>KISYSMOD</string>
        <string>/Library/Application Support/kicad/share/Modules</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

More news later,

Jean-Paul
AC9GH




On May 23, 2014, at 11:48 AM, Andy Peters devel@xxxxxxxxx [kicad-users] <kicad-users@xxxxxxxxxxxxxxx> wrote:

> On May 23, 2014, at 4:24 AM, Bernhard Stegmaier stegmaier@xxxxxxxxxxxxx [kicad-users] <kicad-users@xxxxxxxxxxxxxxx> wrote:
> 
>> Hi Mac guys,
>> 
>> did anyone succeed to build and run a recent version on OSX (most likely after the modular kicad changes)?
>> 
>> I tried to build some versions on both 10.8 and 10.9 machines using different versions of XCode during the last 2 weeks, but I didn’t succeed… :(
>> Compilation did work smoothly on all machines (configured with -DKICAD_BUILD_STATIC=ON and having disabled scripting and github plugin - just as I did with all the previous versions I have built) after a small patch of aMakefile (see end of the mail, I think this is just a leftover because the file that should be copied by that piece of code is already at the right spot…).
>> But, all binaries (except kicad) don’t work on any of my machines. 
>> 
>> They start and immediately crash with a backtrace like this:
> 
> I successfully built Kicad from yesterday's bzr, on a 10.9.3 machine. Cursory checks show that the programs all run but I haven't attempted to do any real work yet.
> 
> Script support is still broken, and results in the osx_bundles fail when building.
> 
> I still haven't figured out how to set the environment variables so the various programs recognize them. I mean, I set KISYSMOD in .bash_profile but the only way for the programs to know about that variable is to launch the programs from the command line, not from the Finder or the Dock.
> 
> IT WOULD BE NICE if the environment variable could be set within pcbnew. There is absolutely no reason why this important pointer needs to be an environment variable -- it should just be something that's in the project file or a template.
> 
> -a
> 
> 
> 
> 
> ------------------------------------
> 
> ------------------------------------
> 
> Please read the Kicad FAQ in the group files section before posting your question.
> Please post your bug reports here. They will be picked up by the creator of Kicad.
> Please visit http://www.kicadlib.org for details of how to contribute your symbols/modules to the kicad library.
> For building Kicad from source and other development questions visit the kicad-devel group at http://groups.yahoo.com/group/kicad-develYahoo Groups Links
> 
> <*> To visit your group on the web, go to:
>    http://groups.yahoo.com/group/kicad-users/
> 
> <*> Your email settings:
>    Individual Email | Traditional
> 
> <*> To change settings online go to:
>    http://groups.yahoo.com/group/kicad-users/join
>    (Yahoo! ID required)
> 
> <*> To change settings via email:
>    kicad-users-digest@xxxxxxxxxxxxxxx 
>    kicad-users-fullfeatured@xxxxxxxxxxxxxxx
> 
> <*> To unsubscribe from this group, send an email to:
>    kicad-users-unsubscribe@xxxxxxxxxxxxxxx
> 
> <*> Your use of Yahoo Groups is subject to:
>    https://info.yahoo.com/legal/us/yahoo/utos/terms/