On 2/21/14 5:04 AM, Kirill Muradov wrote:
> Hanspeter Niederstrasser <fink <at> snaggledworks.com> writes:
>
>>
>> On 2/21/2014 6:39 AM, Kirill Muradov wrote:
>>> Dear Alexander or whomever this may concern,
>>>
>>> I failed to find a clue in FAQs on this issue,
>>> so decided to post again. I'm still trying (already
>>> 2nd or 3rd day!) to install Octave on Mac OS X 10.6.8.
>>> Now faced this problem. I hope the quote below is
>>> sufficient and self-explanatory. FYI: I've tried "fink selfupdate",
>>> "fink configure" to set the Fink build jobs to 1. No effect.
>>>
>>> ...
>>> ### execution of /tmp/fink.TZLc4 failed, exit code 2
>>> ### execution of /tmp/fink.1niMG failed, exit code 2
>>
>> This doesn't provide any information.  It just says that there was a
>> failure.  Scroll upwards through the build output to find the actual
>> error message, and include the build command (often begins with 'gcc ...' ).
>>
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-pstoedit-3.62-1
>>> (Reading database ... 49384 files and directories
>>> currently installed.)
>>> Removing fink-buildlock-pstoedit-3.62-1 ...
>>> Failed: phase compiling: pstoedit-3.62-1 failed
>>>
>>> Before reporting any errors, please run "fink selfupdate" and try again.
>>>
>>> If you continue to have issues, please check to see if the FAQ
>>> on Fink's website solves the problem.  If not, ask on one
>>> (not both, please) of these mailing lists:
>>>
>>>     The Fink Users List <fink-users <at> lists.sourceforge.net>
>>>     The Fink Beginners List <fink-beginners <at> lists.sourceforge.net>,
>>>
>>> with a carbon copy to the maintainer:
>>>
>>>     Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
>>>
>>
>> Don't forget to include maintainer when reporting a bug since they are
>> usually the best source of information about their package.
>>
>> Hanspeter
>>
>>
>>
>
> Hello Hanspeter,
>
> Thanks! But I'm actually confused as I can't find the actual
> start of the error message...
> There are multiple "gcc" in the code,
> I am not sure which one I need to report.
>

If you are building with one job, it's normally the very last one which 
is important, because that's usually what triggers the fatal error. 
With multiple jobs the situation is less clear because you can get a 
failure but the other threads will continue for a while.


> Copying the whole code would take too much space.
> Am I allowed to provide it as a separate file? If yes,
> here is a dropbox link:
> https://www.dropbox.com/s/mj91u9wh3nroyz3/pstoedit_issue.rtf
> Also, my apologies for the inaccuracies: I am
> quite new to all this stuff and this mailing lists...
>
> I will also cc to the maintainer via e-mail (don't
> know other way).
>
> Kirill
>
>

The relevant part seems to be:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DHAVE_LIBPLOTTER 
-DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/sw/include/ImageMagick 
-I/sw/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/sw/bin/gs 
-DPSTOEDITDATADIR=\"/sw/share/pstoedit\" 
-DPSTOEDITLIBDIR=\"/sw/lib/pstoedit-3.62\" -DBUGGYGPP -pedantic -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long -D__unix__ 
-I/sw/lib/libzip/include -I/sw/include -D_LITTLE_ENDIAN -g -O2 
-DINTERNALBOOL -MT drvwmf.lo -MD -MP -MF .deps/drvwmf.Tpo -c drvwmf.cpp 
  -fno-common -DPIC -o .libs/drvwmf.o
In file included from /sw/include/libEMF/wine/windef.h:16,
                  from /sw/include/libEMF/emf.h:27,
                  from drvwmf.h:41,
                  from drvwmf.cpp:25:
/sw/include/libEMF/wine/winnt.h:805: error: ISO C++ prohibits anonymous 
structs
/sw/include/libEMF/wine/winnt.h:871: error: ISO C++ prohibits anonymous 
structs
/sw/include/libEMF/wine/winnt.h:895: error: ISO C++ prohibits anonymous 
structs

I was able to build pstoedit on 10.9 here, but my Fink tree wasn't fully 
up to date.  It's possible that a change in one of the dependencies 
(maybe libemf, since that wasn't at our latest version for me) is 
causing this.  I'll follow up when I know a bit more.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to