Re: Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

2015-09-06 Thread Ryan Schmidt
On Sep 6, 2015, at 19:34, Lars Sonchocky-Helldorf wrote: > Thanks to your help I am now one step further. Now it fails when trying to > configure the port: > > ---> Configuring torch > sh: ./configure: No such file or directory The default for the configure phase is to run a script called conf

How to reliable detect a MacPorts-ported compiler?

2015-09-06 Thread Jeffrey Walton
Hi Everyone, We have some users reporting issues under MacPort-ported compilers (specifically, Issue 37664, https://trac.macports.org/ticket/37664). How do I reliably detect a MacPorts-ported compiler? Thanks in advance. ___ macports-users mailing list

Re: Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

2015-09-06 Thread Lars Sonchocky-Helldorf
Am 06.09.2015 um 23:48 schrieb Clemens Lang: > Hi, > > - On 6 Sep, 2015, at 23:33, Lars Sonchocky-Helldorf > lars.sonchocky-helld...@hamburg.de wrote: > >> I have the following entries in a local portfile: >> - >> homepagehttp://torch.ch/ >> master_siteshttps://gith

Re: Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

2015-09-06 Thread Clemens Lang
Hi, - On 6 Sep, 2015, at 23:33, Lars Sonchocky-Helldorf lars.sonchocky-helld...@hamburg.de wrote: > I have the following entries in a local portfile: > - > homepagehttp://torch.ch/ > master_siteshttps://github.com/torch/torch7/archive/ > distnamemaster.zip

Re: Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

2015-09-06 Thread Ryan Schmidt
On Sep 6, 2015, at 16:33, Lars Sonchocky-Helldorf wrote: > > I have the following entries in a local portfile: > - > homepagehttp://torch.ch/ > master_siteshttps://github.com/torch/torch7/archive/ > distnamemaster.zip > - > > when running sudo port -v insta

Re: Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Lars Sonchocky-Helldorf
Am 06.09.2015 um 20:17 schrieb Ryan Schmidt: > On Sep 6, 2015, at 13:09, Lars Sonchocky-Helldorf wrote: >> >> So how would I specify the variants I want in depends_lib? > > MacPorts itself does not have that capability. Please verify first whether it > is really necessary to use other variant

Writing portfiles: How to download a master.zip and not a master.zip.tar.gz

2015-09-06 Thread Lars Sonchocky-Helldorf
Hi, I have the following entries in a local portfile: - homepagehttp://torch.ch/ master_siteshttps://github.com/torch/torch7/archive/ distnamemaster.zip - when running sudo port -v install torch I get attempts to fetch the source zip like this: ---> Atte

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread su_v
On 2015-09-06 22:19 (+0200), David Evans wrote: > In any case, this patch sets BOOST_APPLE_CLANG_NO_LIBCXX which > apparently doesn't translate into BOOST_NO_CXX11_RVALUE_REFERENCES > and there's a whole lot of other BOOST_NO_CXX11_* macros as well. In > the current version, BOOST_APPLE_CLANG_NO_L

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread David Evans
On 9/6/15 12:33 PM, Ryan Schmidt wrote: > On Sep 6, 2015, at 13:43, David Evans wrote: > >> It may be that boost is configuring for libc++ on 10.7, 10.8 instead of >> libstdc++ but, if that is the case, that is not >> correct and would lead to the type of failure reported in this thread. > > I t

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread Ryan Schmidt
On Sep 6, 2015, at 13:43, David Evans wrote: > > It may be that boost is configuring for libc++ on 10.7, 10.8 instead of > libstdc++ but, if that is the case, that is not > correct and would lead to the type of failure reported in this thread. I thought it did, and that you fixed it in: https:/

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread David Evans
On 9/6/15 10:42 AM, Brandon Allbery wrote: > On Sun, Sep 6, 2015 at 1:36 PM, David Evans > wrote: > > So the question is, why isn't this set by boost when compiling on Mac OS > X configurations that use clang with > -stdlib=libstdc++ (Lion for instance). Seem

Re: Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Ryan Schmidt
On Sep 6, 2015, at 13:09, Lars Sonchocky-Helldorf wrote: > > So how would I specify the variants I want in depends_lib? MacPorts itself does not have that capability. Please verify first whether it is really necessary to use other variants. If so, use the active_variants 1.1 portgroup. __

Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Lars Sonchocky-Helldorf
Hi 'porters I am trying to write a portfile for torch7 (see http://torch.ch/docs/getting-started.html ). Since I am not very experienced with that task I might ask some possibly stupid questions for a while … At the moment I am trying to figure out the right depends_lib. My guideline for this

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread Brandon Allbery
On Sun, Sep 6, 2015 at 1:36 PM, David Evans wrote: > So the question is, why isn't this set by boost when compiling on Mac OS X > configurations that use clang with > -stdlib=libstdc++ (Lion for instance). Seems like there is possibly a > mis-configuration in this case which could > have a wider

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread David Evans
On 9/6/15 9:24 AM, su_v wrote: > On 2015-09-06 16:30 (+0200), David Evans wrote: >> On 9/6/15 3:40 AM, su_v wrote: >>> Didn't find a related ticket in trac yet, so I'm posting this here: >>> Workaround applied successfully on OS X 10.7.5 (Xcode 4.6.3) to libvisio >>> and libcdr in local port repo [

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread su_v
On 2015-09-06 16:30 (+0200), David Evans wrote: > On 9/6/15 3:40 AM, su_v wrote: >> Didn't find a related ticket in trac yet, so I'm posting this here: >> Workaround applied successfully on OS X 10.7.5 (Xcode 4.6.3) to libvisio >> and libcdr in local port repo [1]: >> >> if {${configure.cxx_stdlib}

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread su_v
On 2015-09-06 16:30 (+0200), David Evans wrote: > On 9/6/15 3:40 AM, su_v wrote: >> On 2015-09-05 17:40 (+0200), David Evans wrote: >>> On 9/5/15 8:36 AM, David Evans wrote: On 9/5/15 7:41 AM, echothevoid wrote: > Hello! > > I got an error after running regular sudo port upgrade o

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread David Evans
On 9/6/15 3:40 AM, su_v wrote: > On 2015-09-05 17:40 (+0200), David Evans wrote: >> On 9/5/15 8:36 AM, David Evans wrote: >>> On 9/5/15 7:41 AM, echothevoid wrote: Hello! I got an error after running regular sudo port upgrade outdatedcommand. The log tells me that: :info:b

unbound did not start automatically after reboot

2015-09-06 Thread FritzS - gmx
David, Ryan, who is the unbound specialist? My in MacPorts installed unbound did not start automatically after reboot. But it seems to run, but not listed in the process list If I want to start $ sudo port load unbound /opt/local/etc/LaunchDaemons/org.macports.unbound/org.macports.unbound.plist:

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread su_v
On 2015-09-06 14:45 (+0200), echothevoid wrote: > Thank you su_v! > I tried to read the guide and the 'howto' but still confused how to apply > your solution. > https://guide.macports.org/ > https://trac.macports.org/wiki/howto/Upgrade > > Should I replace the original Portfile of libvisio-0.1 and

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread echothevoid
Thank you su_v! I tried to read the guide and the 'howto' but still confused how to apply your solution. https://guide.macports.org/ https://trac.macports.org/wiki/howto/Upgrade Should I replace the original Portfile of libvisio-0.1 and libcdr-0.1 with the ones from [1] and then do an upgrade? How

Re: boost libstdc++ issue (was libvisio error)

2015-09-06 Thread su_v
On 2015-09-05 17:40 (+0200), David Evans wrote: > On 9/5/15 8:36 AM, David Evans wrote: >> On 9/5/15 7:41 AM, echothevoid wrote: >>> Hello! >>> >>> I got an error after running regular sudo port upgrade outdatedcommand. >>> The log tells me that: >>> :info:build /opt/local/include/boost/thread/det