Re: [Fink-users] libassimp-3.0.1270-1 build-fail

2014-05-17 Thread Sjors Gielen
Hi Dan,

This is a typical error that comes up when GCC is replaced with Clang.
The standard says the template keyword should be used in some places;
Clang listens to this and GCC doesn't care.

There are three possible fixes: bump to an upstream version where this
is fixed (if there is one), patch the code to add template exactly
where the error wants it to be, or force compilation with GCC instead of
Clang.

I don't use Assimp myself anymore, so while I can check if the code
compiles I can't check if it works. Do you want to pick this up?

Sjors

Daniel Macks schreef op 08-05-14 02:30:
 OS X 10.7
 Xcode.app: 4.6.1
 Xcode command-line tools: 4.6.0.0.1.1362189000
 
 The CompileScript specifies 'make -j4' (why override user system prefs?), so 
 I knocked it down to -j1 there. 
 
 [ 82%] Building CXX object code/CMakeFiles/assimp.dir/IFCLoader.cpp.o
 In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/IFCLoader.cpp:53:
 In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFileReader.h:44:
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:198:64:
  error: use 'template' keyword to treat 'To' as a dependent template name
 return Couple(db).MustGetObject(To())-To();
   
  ^
   
  template 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:204:47:
  error: use 'template' keyword to treat 'ToPtr' as a dependent template name
 return 
 e?Couple(db).MustGetObject(*e)-ToPtr():(const T*)0;
   ^
   
 template 
 2 errors generated. 
 make[2]: *** [code/CMakeFiles/assimp.dir/IFCLoader.cpp.o] Error 1
 [ 82%] Building CXX object code/CMakeFiles/assimp.dir/IFCLoader.cpp.o
 In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/IFCLoader.cpp:53:
 In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFileReader.h:44:
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:198:64:
  error: use 'template' keyword to treat 'To' as a dependent template name
 return Couple(db).MustGetObject(To())-To();
   
  ^
   
  template 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:204:47:
  error: use 'template' keyword to treat 'ToPtr' as a dependent template name
 return 
 e?Couple(db).MustGetObject(*e)-ToPtr():(const T*)0;
   ^
   
 template 
 2 errors generated. 
 make[2]: *** [code/CMakeFiles/assimp.dir/IFCLoader.cpp.o] Error 1
 
 dan
 
  --
 Daniel Macks
 dma...@netspace.org
 



signature.asc
Description: OpenPGP digital signature
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libassimp-3.0.1270-1 build-fail

2014-05-17 Thread Daniel Macks
I don't know anything about libassimp (was pulled as a dependency of 
something else that is also not mine). But I did find an upstream patch 
to address it, and pushed it into fink. It now builds for me on 10.7 
and 10.8, where it did not before is the only way I know to test. 

dan

On Sat, 17 May 2014 14:05:31 +0200, Sjors Gielen sj...@sjorsgielen.nl wrote:
Hi Dan,

 This is a typical error that comes up when GCC is replaced with Clang. 
 The standard says the template keyword should be used in some places;
 Clang listens to this and GCC doesn't care. 

 There are three possible fixes: bump to an upstream version where this
 is fixed (if there is one), patch the code to add template exactly
 where the error wants it to be, or force compilation with GCC instead of
 Clang. 

 I don't use Assimp myself anymore, so while I can check if the code
 compiles I can't check if it works. Do you want to pick this up?

 Sjors

 Daniel Macks schreef op 08-05-14 02:30:
  OS X 10.7
  Xcode.app: 4.6.1
  Xcode command-line tools: 4.6.0.0.1.1362189000
   The CompileScript specifies 'make -j4' (why override user system 
 prefs?), so I knocked it down to -j1 there.   [ 82%] Building CXX 
 object code/CMakeFiles/assimp.dir/IFCLoader.cpp.o
  In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/IFCLoader.cpp:53:
  In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFileReader.h:44:
  
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:198:64:
  error: use 'template' keyword to treat 'To' as a dependent template 
 name
  return 
 Couple(db).MustGetObject(To())-To();
  
^
  
template  
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:204:47:
  error: use 'template' keyword to treat 'ToPtr' as a dependent template 
 name
  return 
 e?Couple(db).MustGetObject(*e)-ToPtr():(const T*)0;
^
  
   template  2 errors generated.  make[2]: *** 
 [code/CMakeFiles/assimp.dir/IFCLoader.cpp.o] Error 1
  [ 82%] Building CXX object code/CMakeFiles/assimp.dir/IFCLoader.cpp.o
  In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/IFCLoader.cpp:53:
  In file included from 
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFileReader.h:44:
  
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:198:64:
  error: use 'template' keyword to treat 'To' as a dependent template 
 name
  return 
 Couple(db).MustGetObject(To())-To();
  
^
  
template  
 /sw/build.build/libassimp-3.0.1270-1/assimp--3.0.1270-source-only/code/STEPFile.h:204:47:
  error: use 'template' keyword to treat 'ToPtr' as a dependent template 
 name
  return 
 e?Couple(db).MustGetObject(*e)-ToPtr():(const T*)0;
^
  
   template  2 errors generated.  make[2]: *** 
 [code/CMakeFiles/assimp.dir/IFCLoader.cpp.o] Error 1
   dan
--
  Daniel Macks
  dma...@netspace.org
  -

 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos. 
 Get unparalleled scalability from the best Selenium testing platform 
 available
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs -

 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 List archive:
 http://news.gmane.org/gmane.os.macosx.fink.user
 Subscription management:
 https://lists.sourceforge.net/lists/listinfo/fink-users


  --
Daniel Macks
dma...@netspace.org



--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Fink-users mailing list

[Fink-users] Error building autogen

2014-05-17 Thread jkolata
Error building autogen on OSX 10.9.3.  Here is the info:


checking whether with-libguile was specified... no
checking whether with-libguile-cflags was specified... no
checking whether with-libguile-libs was specified... no
configure: guile-config used for CFLAGS: -I/sw/include/guile/2.0 -I/sw/include 
-D_THREAD_SAFE
configure: guile-config used for LIBS: -L/sw/lib -lguile-2.0 -lgc
checking whether libguile can be linked with... no
configure: error: Cannot find libguile.  libguile is required.  Perhaps you 
need to install guile-devel?
### execution of /tmp/fink.6FgHF failed, exit code 1
### execution of /tmp/fink.lSuxe failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-autogen-5.18.2-3
(Reading database ... 117647 files and directories currently installed.)
Removing fink-buildlock-autogen-5.18.2-3 ...
Failed: phase compiling: autogen-5.18.2-3 failed

Package manager version: 0.36.4.1
Distribution version: selfupdate-cvs Sat May 17 14:02:40 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1.1
Xcode command-line tools: 5.1.0.0.1.1396320587
Max. Fink build jobs:  2

Comments:  guile20-dev and guile18 are installed.  libguile and guile-devel are 
not listed among the packages

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Error building autogen

2014-05-17 Thread Alexander Hansen
On 5/17/14, 12:16 PM, jkolata wrote:
 Error building autogen on OSX 10.9.3.  Here is the info:


 checking whether with-libguile was specified... no
 checking whether with-libguile-cflags was specified... no
 checking whether with-libguile-libs was specified... no
 configure: guile-config used for CFLAGS: -I/sw/include/guile/2.0
 -I/sw/include -D_THREAD_SAFE
 configure: guile-config used for LIBS: -L/sw/lib -lguile-2.0 -lgc
 checking whether libguile can be linked with... no
 configure: error: Cannot find libguile.  libguile is required.  Perhaps
 you need to install guile-devel?
 ### execution of /tmp/fink.6FgHF failed, exit code 1
 ### execution of /tmp/fink.lSuxe failed, exit code 1
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-autogen-5.18.2-3
 (Reading database ... 117647 files and directories currently installed.)
 Removing fink-buildlock-autogen-5.18.2-3 ...
 Failed: phase compiling: autogen-5.18.2-3 failed

 Package manager version: 0.36.4.1
 Distribution version: selfupdate-cvs Sat May 17 14:02:40 2014, 10.9, x86_64
 Trees: local/main stable/main
 Xcode.app: 5.1.1
 Xcode command-line tools: 5.1.0.0.1.1396320587
 Max. Fink build jobs:  2

 Comments:  guile20-dev and guile18 are installed.  libguile and
 guile-devel are not listed among the packages




The libguile message is from upstream, and has nothing to do with how 
we name our packages--they're probably assuming a particular Linux 
distribution.

Try installing gc, if you don't have that installed.  There was a prior 
report on this list in which the issue was that the test for the guile 
library also involves linking the gc library (as noted in the 
configure: guile-config used for LIBS: -L/sw/lib -lguile-2.0 -lgc line).

If you do have gc (and gc-shlibs) installed, then the next thing to try 
is to check the config.log file in the autogen build directory to see 
what else might be failing.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failure in Guile Build

2014-05-17 Thread Marcos Montes
As a follow-up: thank you, you were completely correct, this worked 
perfectly.


And yes, it took quite a very long time.


-M

On 2014/5/5 1:34 PM, Alexander Hansen wrote:

On 5/5/14, 8:01 AM, Marcos Montes wrote:

Alexander,

I've got a build going on right now of another package - and other
calculations, too -  so I'll try this later.

But just to clarify: You want me to leave the word
then
at the start of the line so it is
then sed -i.orig -e
'/libguile_@GUILE_EFFECTIVE_VERSION@_la-vm.Tpo/s|\$(CFLAGS)| -O0|'
libguile/Makefile.in

Depending on the time when the other jobs finish, I'll see about
starting this today; but it may be tomorrow.

Thanks again for taking the time to answer my questions; I appreciate 
it.


-M



woops, good thing you checked--I hadn't had my coffee yet.  Drop the 
'then', too:


sed -i.orig -e 
'/libguile_@GUILE_EFFECTIVE_VERSION@_la-vm.Tpo/s|\$(CFLAGS)| -O0|' 
libguile/Makefile.in






--
Marcos Montes, Ph.D.
Research Physicist
Code 7232, Naval Research Laboratory, Washington, DC 20375
marcos.mon...@nrl.navy.mil, W: 202-767-7308, Fax: 202-404-8894




smime.p7s
Description: S/MIME Cryptographic Signature
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users