ITStool failed to build

2014-02-26 Thread Giuseppe Di Matteo
Hello,
I need to install itstool as a dependency of winetricks, but it failed at the 
configure stage: a module is missing.
I checked my system and both the libxml2 and py27-libxml2 are installed but it 
seems to me that it is searching in the wrong place. 

Giuseppe Di Matteo
pinodimat...@icloud.com




itstool_config.log
Description: Binary data


itstool_main.log
Description: Binary data

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Problem installing maven-devel

2014-02-26 Thread Robert S Brewer
Hello all. I'm trying to install the latest Maven (which was cruelly taken
away by Mavericks) via MacPorts. It appears maven-devel is the best
option. Unfortunately, there seems to be a problem with selecting that port
after install:

$ sudo port install maven-devel
Password:
---  Computing dependencies for maven-devel
---  Dependencies to be installed: maven_select
---  Fetching archive for maven_select
---  Attempting to fetch maven_select-0.3_1.darwin_13.noarch.tbz2 from
http://lil.fr.packages.macports.org/maven_select
---  Attempting to fetch maven_select-0.3_1.darwin_13.noarch.tbz2.rmd160
from http://lil.fr.packages.macports.org/maven_select
---  Installing maven_select @0.3_1
---  Activating maven_select @0.3_1
---  Cleaning maven_select
---  Fetching archive for maven-devel
---  Attempting to fetch maven-devel-3.1.1_0.darwin_13.noarch.tbz2 from
http://lil.fr.packages.macports.org/maven-devel
---  Attempting to fetch maven-devel-3.1.1_0.darwin_13.noarch.tbz2.rmd160
from http://lil.fr.packages.macports.org/maven-devel
---  Installing maven-devel @3.1.1_0
---  Activating maven-devel @3.1.1_0

To make maven 3.1.1 the default, please run
sudo port select --set maven maven-devel

---  Cleaning maven-devel
---  Updating database of binaries: 100.0%
---  Scanning binaries for linking errors: 100.0%
---  No broken files found.

$ sudo port select --set maven maven-devel
Selecting 'maven-devel' for 'maven' failed: The specified version
'maven-devel' is not valid.

$ port select --list maven
Available versions for maven:
maven3
none (active)

$ sudo port select --set maven maven3
Selecting 'maven3' for 'maven' failed: could not create new link
/opt/local/bin/mvn: target /opt/local/bin/mvn3 doesn't exist

Any suggestions on how to resolve this? I would like to use Maven 3.1.1, so
I do not want to install the maven3 port (which appears to be pegged to
3.0.X for compatibility reasons I guess?). Thanks!

On a related note, figuring out which port to install to get the most
recent maven is somewhat opaque. It would be nice if there was some way to
document this kind of thing in MacPorts, rather than 15 minutes of
Googling, reading Portfiles and old mailing list threads.

-- 
Robert Brewer
Postdoc in the Ubiquitous Computing and Interaction Group
Computer Science Department, Aarhus University, Denmark
*http://robertsbrewer.wordpress.com/ http://robertsbrewer.wordpress.com/*
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: ITStool failed to build

2014-02-26 Thread David Evans
On 2/26/14 2:00 AM, Giuseppe Di Matteo wrote:
 Hello,
 I need to install itstool as a dependency of winetricks, but it failed at the 
 configure stage: a module is missing.
 I checked my system and both the libxml2 and py27-libxml2 are installed but 
 it seems to me that it is searching in the wrong place. 

 Giuseppe Di Matteo
 pinodimat...@icloud.com



Can you execute the following command and report what it returns?  This
is the command that is failing for you in configure.

echo import libxml2 | /opt/local/bin/python2.7 -

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: libjpeg-devel?

2014-02-26 Thread Bradley Giesbrecht
On Feb 25, 2014, at 5:42 PM, Terry Barnum te...@dop.com wrote:

 I'm having a go at installing freeswitch (VOIP server, www.freeswitch.org) on 
 a 10.9.1 macmini and it has a half dozen dependencies that I'm hoping can be 
 taken care of with macports. The freeswitch Mac wiki says to use Brew 
 http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X. I'm a 
 macports guy so I want to see if I can get it working with macports and have 
 them update the wiki.
 
 freeswitch wants libjpeg-devel for header files. The jpeg macport doesn't 
 seem to satisfy this and I don't see a libjpeg-devel or jpeg-devel port. Am I 
 out of luck?


$ port contents jpeg | grep /include/
  /opt/local/include/jconfig.h
  /opt/local/include/jerror.h
  /opt/local/include/jmorecfg.h
  /opt/local/include/jpeglib.h


Terry, I'm willing to help you develop a MacPorts Portfile for freeswitch, if 
you are interested contact me off list.


Regards,
Bradley Giesbrecht (pixilla)

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: libjpeg-devel?

2014-02-26 Thread Terry Barnum

On Feb 26, 2014, at 11:13 AM, Bradley Giesbrecht pixi...@macports.org wrote:

 On Feb 25, 2014, at 5:42 PM, Terry Barnum te...@dop.com wrote:
 
 I'm having a go at installing freeswitch (VOIP server, www.freeswitch.org) 
 on a 10.9.1 macmini and it has a half dozen dependencies that I'm hoping can 
 be taken care of with macports. The freeswitch Mac wiki says to use Brew 
 http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X. I'm a 
 macports guy so I want to see if I can get it working with macports and have 
 them update the wiki.
 
 freeswitch wants libjpeg-devel for header files. The jpeg macport doesn't 
 seem to satisfy this and I don't see a libjpeg-devel or jpeg-devel port. Am 
 I out of luck?
 
 
 $ port contents jpeg | grep /include/
  /opt/local/include/jconfig.h
  /opt/local/include/jerror.h
  /opt/local/include/jmorecfg.h
  /opt/local/include/jpeglib.h
 
 
 Terry, I'm willing to help you develop a MacPorts Portfile for freeswitch, if 
 you are interested contact me off list.

Thank you Eric, Brandon and Bradley for the replies. My guess is that 
freeswitch is a little inflexible about where it expects things to be. I'll ask 
about them about more compiler directives/configuration options to allow for 
packages outside of the normal system locations and /usr/local/.

Bradley, thank you for the kind offer. Email on the way.

-Terry

 Regards,
 Bradley Giesbrecht (pixilla)

Terry Barnum
digital OutPost
http://www.dop.com

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


llvm-3.5 on 10.7.5

2014-02-26 Thread Alexey Luchko
Hi,

I have working llvm-3.5 @3.5-r198565_0+assertions.
Recently, it was updated to @3.5-r202097.

An attempt to upgrade results in a message:
Error: llvm-3.5 requires a C++11 runtime, which your configuration
does not allow

The cause is presence of /usr/lib/libc++.dylib as far as I can get.

Does it mean that llvm-3.5 does not work on 10.7?

--
Regards
Alex
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Brandon Allbery
On Wed, Feb 26, 2014 at 4:49 PM, Alexey Luchko soulne...@gmail.com wrote:

 I have working llvm-3.5 @3.5-r198565_0+assertions.
 Recently, it was updated to @3.5-r202097.

 An attempt to upgrade results in a message:
 Error: llvm-3.5 requires a C++11 runtime, which your configuration
 does not allow

 The cause is presence of /usr/lib/libc++.dylib as far as I can get.

 Does it mean that llvm-3.5 does not work on 10.7?


By itself, it works fine. The problem is that it is never by itself; it
exists in an ecosystem whose contents are defined by Apple. On 10.7 that
ecosystem is not C++11, and while you can build a C++11 ecosystem of your
own it is not compatible with anything else. In particular it is not
compatible with any C++ libraries provided by Apple as part of the base
system or Xcode, and if you ever try to use an Apple-compatible C++ library
with it you will get link errors or possibly crashes.

After playing whack-a-mole for a while trying to get stuff to coexist,
MacPorts has given up and acknowledged that the only thing that works
reliably is to go with what is compatible with Apple libraries; that means
only older llvm that uses pre-C++11 interfaces (provided by libstdc++ or an
Apple-sourced compatible libc++) on pre-10.9 and only newer llvm that uses
C++11 interfaces (provided by modern libc++ but not the libc++ shipped on
older OS X) on 10.9. Any other combination *might* work if you are lucky
but is not guaranteed in any way, and MacPorts no longer supports it.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: libjpeg-devel?

2014-02-26 Thread Ryan Schmidt

On Feb 26, 2014, at 13:39, Terry Barnum wrote:

 Thank you Eric, Brandon and Bradley for the replies. My guess is that 
 freeswitch is a little inflexible about where it expects things to be. I'll 
 ask about them about more compiler directives/configuration options to allow 
 for packages outside of the normal system locations and /usr/local/.

The only flags you should for that need are -I/opt/local/include in the 
CPPFLAGS and -L/opt/local/lib in the LDFLAGS; MacPorts sets these for you 
automatically at configure time. Software with poorly-behaved or non-existent 
configure scripts may need further tweaking.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Ryan Schmidt

On Feb 26, 2014, at 16:12, Brandon Allbery wrote:

 Does it mean that llvm-3.5 does not work on 10.7?
 
 By itself, it works fine. The problem is that it is never by itself; it 
 exists in an ecosystem whose contents are defined by Apple. On 10.7 that 
 ecosystem is not C++11, and while you can build a C++11 ecosystem of your own 
 it is not compatible with anything else. In particular it is not compatible 
 with any C++ libraries provided by Apple as part of the base system or Xcode, 
 and if you ever try to use an Apple-compatible C++ library with it you will 
 get link errors or possibly crashes.
 
 After playing whack-a-mole for a while trying to get stuff to coexist, 
 MacPorts has given up and acknowledged that the only thing that works 
 reliably is to go with what is compatible with Apple libraries; that means 
 only older llvm that uses pre-C++11 interfaces (provided by libstdc++ or an 
 Apple-sourced compatible libc++) on pre-10.9 and only newer llvm that uses 
 C++11 interfaces (provided by modern libc++ but not the libc++ shipped on 
 older OS X) on 10.9. Any other combination *might* work if you are lucky but 
 is not guaranteed in any way, and MacPorts no longer supports it.

Them’s some good words there, Bradley. Do you feel up to turning it into a FAQ 
entry? It’s a complicated thing to explain to people and it would be great if 
there were a central explanation we could refer people to.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Brandon Allbery
On Wed, Feb 26, 2014 at 6:32 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 Them’s some good words there, Bradley. Do you feel up to turning it into a
 FAQ entry? It’s a complicated thing to explain to people and it would be
 great if there were a central explanation we could refer people to.


Will http://trac.macports.org/wiki/FAQ#libcpp do?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Ryan Schmidt

On Feb 26, 2014, at 18:51, Brandon Allbery allber...@gmail.com wrote:
 On Wed, Feb 26, 2014 at 6:32 PM, Ryan Schmidt ryandes...@macports.org wrote:
 Them’s some good words there, Bradley. Do you feel up to turning it into a 
 FAQ entry? It’s a complicated thing to explain to people and it would be 
 great if there were a central explanation we could refer people to.
 
 Will http://trac.macports.org/wiki/FAQ#libcpp do?

Great, thanks!

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users