Get me the details of what commands failed so we can just fix the Makefile instead of hacking it during build.
On Oct 14, 2015, at 3:52 PM, Mario G <mario_fs@mgtech.com> wrote:
Thanks, I tried that but there is a problem with the chmod commands at the bottom of makefile. I simply added perl commands to the Applescript Installer that modifies the makefile to remove the -m 755, etc. and it works fine so far. Right now, the Applescript installer is a way better method to install than homebrew.
On Oct 14, 2015, at 10:40 AM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
If you look at the top of the Makefile in libyuv:
PREFIX:=/usr EXEC_PREFIX:=$(PREFIX) LIBDIR:=$(PREFIX)/lib/ INCDIR:=$(PREFIX)/include/
you can override these on the make line:
PREFIX=/usr/local make install <--- something like this...
this should allow you to make a homebrew recipe without having to patch anything
On Oct 14, 2015, at 12:40 PM, Mario G <mario_fs@mgtech.com <mailto:mario_fs@mgtech.com>> wrote:
Homebrew puts everything in /usr/local. In fact, if you follow the wiki you can actually delete the whole /usr/local to remove everything except Xcode and start over again since /usr/local is not used by OS X.
I would like to make a homebrew formula called freeswitch-support which would install all prereqs. This would allow anyone to later install whatever version of FS they want. Then, it would be simple to add a freeswitch formula (which I see someone already started) that would simply invoked freeswitch-support and install the current production version. I am stumbling learning hombrew formulas but hope to I can figure them out.
BTW, I am updating the wiki today for 1.6, working in the Applescript installer right now. Mario G
On Oct 13, 2015, at 10:20 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
Does homebrew use /usr/local ? I thought they had their own lib prefix that we could make a recope for and install it there by their policy so the eventual fs hombrew package would just fit in.
On Tuesday, October 13, 2015, Mario <mario_fs@mgtech.com <mailto:mario_fs@mgtech.com>> wrote: FINALLY! I got libyuv installed into /usr/local, also flite, libvpx, and opus. And lua and libsndfile from homebrew. Freeswitch 1.7 master built and came up! BTW, the previous problem I had was dumb, I had to do a new git clone of FS and it found libyuv in /usr/local.
Thanks for the guidance! Now for thorough testing then updating the Applescript FS installer and wiki pages. Mario G
On Oct 13, 2015, at 2:58 PM, Michael Jerris <mike@jerris.com <>> wrote:
On Oct 13, 2015, at 5:46 PM, Mario <mario_fs@mgtech.com <>> wrote:
What I meant was was is the difference between the libyuv in https://freeswitch.org/stash/scm/sd/libyuv.git <https://freeswitch.org/stash/scm/sd/libyuv.git> and https://mikej@freeswitch.org/stash/scm/sd/libyuv.git? <https://mikej@freeswitch.org/stash/scm/sd/libyuv.git?> These are the same, just one has my user id in the url
I installed libyuv into /usr/local which is where I installed flite. Freeswitch make finds flite fine but not lubyuv. I modified libyuv makefile, .pc and .pc.in <http://pc.in/> files from /usr to /usr/local. The objective is I don’t want it in OS X system directories, should not need SUDO, and removal is easy. Can’t figure out why FS finds flite in /usr/local but not libyuv.
You would have to take a look at the configure code for detection. I know libyuv needs pkg-config. You might be able to come up with some small patches for that makefile to make it possible to pass the prefix in as a var so we don't need to hack the files to build like that.
> On Oct 13, 2015, at 9:37 AM, Michael Jerris <mike@jerris.com <>> wrote: > > not sure what you mean by the one in support lib. > > If you are installing to a different locations, it will put the .pc file for pkg-config in that alt location too, then you either need to symlink that pc file to the places pkg-config looks in or something to get pkg-config to see that file > >> On Oct 13, 2015, at 12:27 PM, Mario <mario_fs@mgtech.com <>> wrote: >> >> Thank you, a question: How does this differ from the one in the support lib? The URL will go into the wiki and possibly a homebrew formula. >> >> I was able to make install it into /usr/local instead of /usr but freeswitch still does not find it. Will look into it further. >> >> >>> On Oct 12, 2015, at 10:48 AM, Michael Jerris <mike@jerris.com <>> wrote: >>> >>> 509 git clone https://mikej@freeswitch.org/stash/scm/sd/libyuv.git <https://mikej@freeswitch.org/stash/scm/sd/libyuv.git> >>> 510 cd libyuv >>> 512 make >>> 514 sudo make install >>> >>> just did on my machine and it worked fine? >>> >>>> On Oct 12, 2015, at 1:39 PM, Mario <mario_fs@mgtech.com <>> wrote: >>>> >>>> I got nowhere this weekend trying to compile libyuv on OS X so will wait for Michael’s magic. I am also looking into making the new prereqs homebrew formulas and want to see if it’s possible for libyuv. If so, I was thinking of doing a homebrew formula called “freeswitch-support/prereqs” with everything in it. >>>>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ <http://freeswitch.org/> ☞ http://cluecon.com/ <http://cluecon.com/> ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH> ☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s> https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org