Re: [Moses-support] Boost problem compiling Moses

2012-09-03 Thread Kenneth Heafield
Hi Lane,

Try running

g++  -dM -x c++ -E /dev/null -include boost/version.hpp

That should help you figure out how your Boost install is insufficient. 
  Missing Boost variables?

Kenneth

On 09/03/12 15:56, Lane Schwartz wrote:
 I'm trying to compile Moses on Mac OS X. I installed Boost using fink.
 I get the following error message:

 Failed to run bash -c g++  -dM -x c++ -E /dev/null -include
 boost/version.hpp 2/dev/null |grep '#define BOOST_'
 Boost does not seem to be installed or g++ is confused.

 Any ideas?

 Thanks,
 Lane
 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Boost problem compiling Moses

2012-09-03 Thread Lane Schwartz
That works!


On Mon, Sep 3, 2012 at 4:12 PM, Christian Federmann cfederm...@dfki.de wrote:
 Hi Lane, all,

 I added some bits to make Moses work with MacPorts installed versions of 
 Boost.

 This _could_ also work for fink (adapt the /path/to/macports bit).

 See the BUILD-INSTRUCTIONS.txt section on options:

 --with-macports=/path/to/macports use MacPorts on Mac OS X.

 Cheers,
Christian



 On Sep 3, 2012, at 4:56 PM, Lane Schwartz wrote:

 I'm trying to compile Moses on Mac OS X. I installed Boost using fink.
 I get the following error message:

 Failed to run bash -c g++  -dM -x c++ -E /dev/null -include
 boost/version.hpp 2/dev/null |grep '#define BOOST_'
 Boost does not seem to be installed or g++ is confused.

 Any ideas?

 Thanks,
 Lane
 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support




 --
 Dipl.-Inf. Christian Federmann, Researcher, Language Technology Lab
 Office +1.09 -- Phone +49-681/857-75-5353,  Fax +49-681/857-75-5338
 DFKI GmbH,  Campus D3 2,  Stuhlsatzenhausweg 3,  66123 Saarbruecken
 http://www.dfki.de/~cfedermann

 ---
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
 Geschaeftsfuehrung:
 Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
 Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats:
 Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 ---






-- 
When a place gets crowded enough to require ID's, social collapse is not
far away.  It is time to go elsewhere.  The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, Time Enough For Love
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Boost problem compiling Moses

2012-09-03 Thread Christian Federmann
Glad to hear that, Lane :)

Best,
   Chris







Lane Schwartz dowob...@gmail.com hat am 3. September 2012 um 17:55
geschrieben:

 That works!


 On Mon, Sep 3, 2012 at 4:12 PM, Christian Federmann cfederm...@dfki.de
 wrote:
  Hi Lane, all,
 
  I added some bits to make Moses work with MacPorts installed versions of
  Boost.
 
  This _could_ also work for fink (adapt the /path/to/macports bit).
 
  See the BUILD-INSTRUCTIONS.txt section on options:
 
  --with-macports=/path/to/macports use MacPorts on Mac OS X.
 
  Cheers,
 Christian
 
 
 
  On Sep 3, 2012, at 4:56 PM, Lane Schwartz wrote:
 
  I'm trying to compile Moses on Mac OS X. I installed Boost using fink.
  I get the following error message:
 
  Failed to run bash -c g++  -dM -x c++ -E /dev/null -include
  boost/version.hpp 2/dev/null |grep '#define BOOST_'
  Boost does not seem to be installed or g++ is confused.
 
  Any ideas?
 
  Thanks,
  Lane
  ___
  Moses-support mailing list
  Moses-support@mit.edu
  http://mailman.mit.edu/mailman/listinfo/moses-support
 
 
 
 
  --
  Dipl.-Inf. Christian Federmann, Researcher, Language Technology Lab
  Office +1.09 -- Phone +49-681/857-75-5353,  Fax +49-681/857-75-5338
  DFKI GmbH,  Campus D3 2,  Stuhlsatzenhausweg 3,  66123 Saarbruecken
  http://www.dfki.de/~cfedermann
 
  ---
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
  Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
  Geschaeftsfuehrung:
  Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
  Dr. Walter Olthoff
  Vorsitzender des Aufsichtsrats:
  Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313
  ---
 
 
 



 --
 When a place gets crowded enough to require ID's, social collapse is not
 far away.  It is time to go elsewhere.  The best thing about space travel
 is that it made it possible to go elsewhere.
 -- R.A. Heinlein, Time Enough For Love
--
Dipl.-Inf. Christian Federmann, Researcher, Language Technology Lab
Office +1.09 -- Phone +49-681/857-75-5353,  Fax +49-681/857-75-5338
DFKI GmbH,  Campus D3 2,  Stuhlsatzenhausweg 3,  66123 Saarbruecken
http://www.dfki.de/~cfedermann

---
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
---
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support