Re: [Fink-users] libgeos3.4.2 fails at configuration stage

2014-12-02 Thread petri . piila
Yes, it compiles when dropping the if/fi condition. Also, there has appeared a 
binary distribution lately at Fink.


Alex Hansen [alexanderk.han...@gmail.com] kirjoitti: 
> Gcc-4.2 was removed from Xcode 4.2 and later, so the only people who should 
> have it from Xcode are people on 10.7 with Xcode 4.1.  That's a small subset 
> of our users at this point. :-)
> 
> Sent from my iPad
> 
> > On Dec 1, 2014, at 18:05, Žf ¬4  wrote:
> > 
> > Hi,
> > 
> >> 2014/12/02 3:50Alexander Hansen  náüë
> >> 
> >> 
> >>> On Dec 1, 2014, at 4:47 AM, Petri Piila  wrote:
> >>> 
> >>> Here is a snippet from config.log :
> >>> 
> >>> configure:3564: checking whether the C compiler works
> >>> configure:3586: gcc-4.2  -I/sw/include -L/sw/lib conftest.c  >&5
> >>> :0: error: Unknown value '10.10' of -mmacosx-version-min
> >>> configure:3590: $? = 1
> >>> configure:3628: result: no
> >>> configure: failed program was:
> >>> | /* confdefs.h */
> >>> | #define PACKAGE_NAME ""
> >>> | #define PACKAGE_TARNAME ""
> >>> | #define PACKAGE_VERSION ""
> >>> | #define PACKAGE_STRING ""
> >>> | #define PACKAGE_BUGREPORT ""
> >>> | #define PACKAGE_URL ""
> >>> | /* end confdefs.h.  */
> >>> | 
> >>> | int
> >>> | main ()
> >>> | {
> >>> | 
> >>> |   ;
> >>> |   return 0;
> >>> | }
> >>> configure:3633: error: in 
> >>> `/sw/src/fink.build/libgeos3.4.2-3.4.2-1/geos-3.4.2':
> >>> configure:3635: error: C compiler cannot create executables
> >> 
> >> 
> >> Maintainer cc'ed
> >> 
> >> Your gcc-4.2 isnt part of the command-line build tools for 10.10.  
> >> Unfortunately the test for gcc-4.2, which isnt really relevant any more 
> >> for 10.7 and later, is finding it and trying to use it.
> >> 
> >> You might try editing 
> >> /sw/fink/10.7/stable/main/finkinfo/libs/libgeos34.2.info and removing the 
> >> if & fi construct in the CompileScript block.
> > 
> > I can drop if/fi conditional on 10.7 tree?
> > 
> > 
> > 
> > BABA Yoshihiko
> > 
> > 
> > 
> 


-- 




--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
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] libgeos3.4.2 fails at configuration stage

2014-12-01 Thread Petri Piila
Thanks, commenting three lines in info file helped.


> On 02 Dec 2014, at 04:05, 美彦 馬場  wrote:
> 
> Hi,
> 
>> 2014/12/02 3:50、Alexander Hansen > <mailto:alexanderk.han...@gmail.com>> のメール:
>> 
>> 
>>> On Dec 1, 2014, at 4:47 AM, Petri Piila  wrote:
>>> 
>>> Here is a snippet from config.log :
>>> 
>>> configure:3564: checking whether the C compiler works
>>> configure:3586: gcc-4.2  -I/sw/include -L/sw/lib conftest.c  >&5
>>> :0: error: Unknown value '10.10' of -mmacosx-version-min
>>> configure:3590: $? = 1
>>> configure:3628: result: no
>>> configure: failed program was:
>>> | /* confdefs.h */
>>> | #define PACKAGE_NAME ""
>>> | #define PACKAGE_TARNAME ""
>>> | #define PACKAGE_VERSION ""
>>> | #define PACKAGE_STRING ""
>>> | #define PACKAGE_BUGREPORT ""
>>> | #define PACKAGE_URL ""
>>> | /* end confdefs.h.  */
>>> | 
>>> | int
>>> | main ()
>>> | {
>>> | 
>>> |   ;
>>> |   return 0;
>>> | }
>>> configure:3633: error: in 
>>> `/sw/src/fink.build/libgeos3.4.2-3.4.2-1/geos-3.4.2':
>>> configure:3635: error: C compiler cannot create executables
>>> 
>>> 
>> 
>> 
>> Maintainer cc'ed
>> 
>> Your gcc-4.2 isn’t part of the command-line build tools for 10.10.  
>> Unfortunately the test for gcc-4.2, which isn’t really relevant any more for 
>> 10.7 and later, is finding it and trying to use it.
>> 
>> You might try editing 
>> /sw/fink/10.7/stable/main/finkinfo/libs/libgeos3.4.2.info and removing the 
>> if … fi construct in the CompileScript block.
> 
> I can drop if/fi conditional on 10.7 tree?
> 
> 
> —
> BABA Yoshihiko

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
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] libgeos3.4.2 fails at configuration stage

2014-12-01 Thread Petri Piila
Here is a snippet from config.log :

configure:3564: checking whether the C compiler works
configure:3586: gcc-4.2  -I/sw/include -L/sw/lib conftest.c  >&5
:0: error: Unknown value '10.10' of -mmacosx-version-min
configure:3590: $? = 1
configure:3628: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3633: error: in `/sw/src/fink.build/libgeos3.4.2-3.4.2-1/geos-3.4.2':
configure:3635: error: C compiler cannot create executables



> On 01 Dec 2014, at 14:20, Martin Costabel  wrote:
> 
> On 1/12/14 09:28, Petri Piila wrote:
> []
>> checking for gcc... gcc-4.2
>> checking whether the C compiler works... no
>> configure: error: in `/sw/src/fink.build/libgeos3.4.2-3.4.2-1/geos-3.4.2':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
> 
> What does the config.log file say about this?
> 
> -- 
> Martin
> 


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
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


[Fink-users] libgeos3.4.2 fails at configuration stage

2014-12-01 Thread Petri Piila
Dear libgeos maintainer

libgeos3.4.2 fails at configuration stage as follows :



% fink install libgeos3.4.2
Information about 10247 packages read in 1 seconds.
The following package will be installed or updated:
 libgeos3.4.2
The following additional package will be installed:
 libgeos3.4.2-shlibs
Default answer will be chosen in 60 seconds...
Do you want to continue? [Y/n] 
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libgeos3.4.2-3.4.2-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libgeos3.4.2-3.4.2-1' in 
`/sw/src/fink.build/fink-buildlock-libgeos3.4.2-3.4.2-1_2014.12.01-10.23.01_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-libgeos3.4.2-3.4.2-1_2014.12.01-10.23.01_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-libgeos3.4.2-3.4.2-1.
(Reading database ... 160571 files and directories currently installed.)
Unpacking fink-buildlock-libgeos3.4.2-3.4.2-1 (from 
.../fink-buildlock-libgeos3.4.2-3.4.2-1_2014.12.01-10.23.01_darwin-x86_64.deb) 
...
Setting up fink-buildlock-libgeos3.4.2-3.4.2-1 (2014.12.01-10.23.01) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink._04ma
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/geos-3.4.2.tar.bz2
sudo -u fink-bld [ENV] sh -c /tmp/fink.FAxkC
/tmp/fink.NPQ92
#!/bin/sh -ev
if [ -x /usr/bin/gcc-4.2 ]; then
export CC="gcc-4.2" CXX="g++-4.2"
fi
./configure --prefix=/sw/opt/libgeos3.4.2
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking target system type... x86_64-apple-darwin14.0.0
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc-4.2
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/libgeos3.4.2-3.4.2-1/geos-3.4.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.NPQ92 failed, exit code 77
### execution of /tmp/fink.FAxkC failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libgeos3.4.2-3.4.2-1
(Reading database ... 160572 files and directories currently installed.)
Removing fink-buildlock-libgeos3.4.2-3.4.2-1 ...
Failed: phase compiling: libgeos3.4.2-3.4.2-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package 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 
The Fink Beginners List ,

with a carbon copy to the maintainer:

BABA Yoshihiko 

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.38.3
Distribution version: selfupdate-cvs Mon Dec  1 09:45:36 2014, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 6.1
Xcode command-line tools: 6.1.0.0.1.1413057044
Max. Fink build jobs:  4


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
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


[Fink-users] octave-atlas-3.8.2-1 failed

2014-10-23 Thread Petri Piila
uot;
# QtCore is inherited
export LDFLAGS=`pkg-config QtNetwork --libs`" "`pkg-config QtGui 
--libs`" -L/sw/lib/qt4-$qt_type/lib $LDFLAGS"
 fi
 
 ./configure --prefix=/sw \
 \
 --with-lapack="-ltatlas" \
 --with-blas="-ltatlas" \
 \
 \
 --with-framework-carbon \
 \
 \
 \
 \
--with-magick=GraphicsMagick \
--with-qhull-includedir=/sw/include/libqhull \
--host=x86_64-apple-darwin \
--build=x86_64-apple-darwin \
--infodir='${prefix}/share/info' \
--mandir='${prefix}/share/man' \
--libexecdir='${prefix}/lib' \
--enable-shared \
--enable-dl \
--disable-static \
 --disable-gui \
--enable-dependency-tracking
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '601' is supported by ustar format... yes
checking whether GID '600' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin
checking host system type... x86_64-apple-darwin
checking for style of include used by make... GNU
checking for x86_64-apple-darwin-gcc... oct-cc
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/octave-atlas-3.8.2-1/octave-3.8.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.l6P5g failed, exit code 77
### execution of /tmp/fink.DQHMD failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-octave-atlas-3.8.2-1
(Reading database ... 146670 files and directories currently installed.)
Removing fink-buildlock-octave-atlas-3.8.2-1 ...
Failed: phase compiling: octave-atlas-3.8.2-1 failed

BR,
Petri Piila



--
___
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] phase compiling: fltk13-aqua-1.3.2-3 failed

2014-10-23 Thread Petri Piila
ONFIG_PATH"
export PATH="/sw/lib/qt4-$qt_type/bin:$PATH"
# QtCore is inherited
export LDFLAGS=`pkg-config QtNetwork --libs`" "`pkg-config QtGui 
--libs`" -L/sw/lib/qt4-$qt_type/lib $LDFLAGS"
fi

./configure --prefix=/sw \
\
--with-lapack="-ltatlas" \
--with-blas="-ltatlas" \
\
\
--with-framework-carbon \
\
\
\
\
--with-magick=GraphicsMagick \
--with-qhull-includedir=/sw/include/libqhull \
--host=x86_64-apple-darwin \
--build=x86_64-apple-darwin \
--infodir='${prefix}/share/info' \
--mandir='${prefix}/share/man' \
--libexecdir='${prefix}/lib' \
--enable-shared \
--enable-dl \
--disable-static \
--disable-gui \
--enable-dependency-tracking
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '601' is supported by ustar format... yes
checking whether GID '600' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin
checking host system type... x86_64-apple-darwin
checking for style of include used by make... GNU
checking for x86_64-apple-darwin-gcc... oct-cc
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/octave-atlas-3.8.2-1/octave-3.8.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.l6P5g failed, exit code 77
### execution of /tmp/fink.DQHMD failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-octave-atlas-3.8.2-1
(Reading database ... 146670 files and directories currently installed.)
Removing fink-buildlock-octave-atlas-3.8.2-1 ...
Failed: phase compiling: octave-atlas-3.8.2-1 failed






> On 23 Oct 2014, at 16:29, Alexander Hansen  
> wrote:
> 
> On 10/23/14, 12:06 AM, Petri Piila wrote:
>> Dear fltk maintainer,
>> 
>> I’m not able to compile fltk13-aqua.
>> 
>> My system :
>> 
>> Package manager version: 0.38.1
>> Distribution version: selfupdate-cvs Thu Oct 23 09:51:40 2014, 10.10, x86_64
>> Trees: local/main stable/main stable/crypto
>> Xcode.app: 6.1
>> Xcode command-line tools: 6.1.0.0.1.1413057044
>> Max. Fink build jobs:  1
>> 
>> Configuration log:
>> 
> 
> 
> 
>> === making src ===
>> echo Compiling Fl_cocoa.mm...
>> Compiling Fl_cocoa.mm...
>> g++ -I..  -Os -Wno-deprecated-declarations -Wall -Wunused -Wno-format-y2k  
>> -fPIC -fno-exceptions -fno-strict-aliasing -D_LARGEFILE_SOURCE 
>> -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/sw/include  
>> -DFL_LIBRARY -x objective-c++ -c Fl_cocoa.mm -o Fl_cocoa.o
>> Fl_cocoa.mm:1325:24: error: cannot initialize a parameter of type 
>> 'id' with an rvalue of
>>   type 'FLDelegate *'
>> [NSApp setDelegate:[[FLDelegate alloc] init]];
>>^
>> /usr/include/objc/NSObject.h:60:1: note: instance method 'init' is assumed 
>> to return an instance of its receiver
>>   type ('FLDelegate *')
>> - (instancetype)init;
>> ^
>> /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47:
>>  note: passing argument to
>>   parameter 'delegate' here
>> @property (assign) id  delegate NS_AVAILABLE(10_5, 
>> 2_0);
>>   ^
>> Fl_cocoa.mm:2234:21: error: cannot initialize a parameter of type 
>> 'id' with an rvalue of type
>>   'id'
>> [cw setDelegate:[NSApp delegate]];
>> ^~~~
>> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41: note: 
>> passing argument to parameter
>>   'delegate' here
>> @property (assign) id delegate;
>> ^
>> 2 errors generated.
>> make[1]: *** [Fl_cocoa.o] Error 1
>> make: *** [all] Error 1
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.nOuAY failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-fltk13-aqua-1.3.2-3
>> (Reading database ... 31590 files and directories currently installed.)
>> Removing fink-buildlock-fltk13-aqua-1.3.2-3 ...
>> Failed: phase compiling: fltk13-aqua-1.3.2-3 failed
>> 
>> BR
>> Petri Piila
>> 
>> 
> 
> Thanks for the report.  I'm trying out a patch right now and I'll let you 
> know if it works.
> 
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/


--
___
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


[Fink-users] phase compiling: fltk13-aqua-1.3.2-3 failed

2014-10-23 Thread Petri Piila
e' here
@property (assign) id delegate;
^
2 errors generated.
make[1]: *** [Fl_cocoa.o] Error 1
make: *** [all] Error 1
### execution of make failed, exit code 2
### execution of /tmp/fink.nOuAY failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fltk13-aqua-1.3.2-3
(Reading database ... 31590 files and directories currently installed.)
Removing fink-buildlock-fltk13-aqua-1.3.2-3 ...
Failed: phase compiling: fltk13-aqua-1.3.2-3 failed

BR
Petri Piila


--
___
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 in compiling Geomview 1.9.4-1003 in Os X 10.8.3

2013-05-14 Thread Petri Piila
Many thanks, it builds now!

Regards,
Petri


On May 14, 2013, at 7:24 PM, Alexander Hansen  
wrote:

> On 5/14/13 2:47 AM, Petri Piila wrote:
>> Dear Geomview maintainer,
>> 
>> Presently updated Geomview 1.9.4-1003 won't compile in my system:
>> 
>> Package manager version: 0.34.8
>> Distribution version: selfupdate-rsync Tue May 14 10:56:05 2013, 10.8, x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 4.6.2
>> Xcode command-line tools: 4.6.0.0.1.1365549073
>> Max. Fink build jobs:  1
>> 
>> I have a MacBookPro with processor Intel Core 2 Duo and operating system Os 
>> X 10.8.3 .
>> 
>> Compiling interrupted according to the listing below. First error that I can 
>> see is "error: no member named 'dd_fd' in 'DIR'".
>> 
>> Also compiling of the previous package version ended with the same error. 
>> Compiling was successful in Os x 10.7 and probably also in Os X 10.8.0.
>> 
>> 
>> gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
>> -I/usr/X11R6/include  -I/sw/include  -g -O2 -c animate.c
>> gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
>> -I/usr/X11R6/include  -I/sw/include  -g -O2 -c xanimate.c
>> gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
>> -I/usr/X11R6/include  -I/sw/include  -g -O2 -c glob.c
>> glob.c:262:12: error: no member named 'dd_fd' in 'DIR'
>> if (fstat(dirfd(dirp), &stb) < 0)
>>   ^~~
>> glob.c:45:31: note: expanded from macro 'dirfd'
>> #define dirfd(dirp)  ((dirp)->dd_fd)
>>   ~~  ^
>> glob.c:417:12: warning: equality comparison with extraneous parentheses 
>> [-Wparentheses-equality]
>> if ((cc == 0)) {
>>  ~~~^~~~
>> glob.c:417:12: note: remove extraneous parentheses around the comparison to 
>> silence this warning
>> if ((cc == 0)) {
>> ~   ^   ~
>> glob.c:417:12: note: use '=' to turn this equality comparison into an 
>> assignment
>> if ((cc == 0)) {
>> ^~
>> =
>> glob.c:505:12: warning: equality comparison with extraneous parentheses 
>> [-Wparentheses-equality]
>> if ((cc == 0)) {
>>  ~~~^~~~
>> glob.c:505:12: note: remove extraneous parentheses around the comparison to 
>> silence this warning
>> if ((cc == 0)) {
>> ~   ^   ~
>> glob.c:505:12: note: use '=' to turn this equality comparison into an 
>> assignment
>> if ((cc == 0)) {
>> ^~
>> =
>> 2 warnings and 1 error generated.
>> make[5]: *** [glob.o] Error 1
>> make[5]: Leaving directory 
>> `/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin/animate'
>> make[4]: *** [all-recursive] Error 1
>> make[4]: Leaving directory 
>> `/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin/animate'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory 
>> `/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory 
>> `/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory 
>> `/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4'
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.AqJ93 failed, exit code 2
>> 
>> 
>> Best Regards
>> Petri Piila
>> 
>> petri.pi...@kolumbus.fi
>> 
>> 
>> 
> 
> Thanks for the report.
> 
> The problem appears to be this, from glob.c:
> 
> #if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && 
> !defined(__FreeBSD__) && !defined(__CYGWIN__)
> #define dirfd(dirp)  ((dirp)->dd_fd)
> #endif
> 
> Starting with 10.8, OS X has its own dirfd(), but the !defined(dirfd) seems 
> not to be resolving as false.  I just committed a change which patches around 
> that on 10.8 only, and it should be available shortly via selfupdate.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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


[Fink-users] Error in compiling Geomview 1.9.4-1003 in Os X 10.8.3

2013-05-14 Thread Petri Piila
Dear Geomview maintainer,

Presently updated Geomview 1.9.4-1003 won't compile in my system:

Package manager version: 0.34.8
Distribution version: selfupdate-rsync Tue May 14 10:56:05 2013, 10.8, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 4.6.2
Xcode command-line tools: 4.6.0.0.1.1365549073
Max. Fink build jobs:  1

I have a MacBookPro with processor Intel Core 2 Duo and operating system Os X 
10.8.3 .

Compiling interrupted according to the listing below. First error that I can 
see is "error: no member named 'dd_fd' in 'DIR'".

Also compiling of the previous package version ended with the same error. 
Compiling was successful in Os x 10.7 and probably also in Os X 10.8.0.


gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
-I/usr/X11R6/include  -I/sw/include  -g -O2 -c animate.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
-I/usr/X11R6/include  -I/sw/include  -g -O2 -c xanimate.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I/sw  -I../../../include 
-I/usr/X11R6/include  -I/sw/include  -g -O2 -c glob.c
glob.c:262:12: error: no member named 'dd_fd' in 'DIR'
if (fstat(dirfd(dirp), &stb) < 0)
  ^~~
glob.c:45:31: note: expanded from macro 'dirfd'
#define dirfd(dirp)  ((dirp)->dd_fd)
  ~~  ^
glob.c:417:12: warning: equality comparison with extraneous parentheses 
[-Wparentheses-equality]
if ((cc == 0)) {
 ~~~^~~~
glob.c:417:12: note: remove extraneous parentheses around the comparison to 
silence this warning
if ((cc == 0)) {
~   ^   ~
glob.c:417:12: note: use '=' to turn this equality comparison into an assignment
if ((cc == 0)) {
^~
=
glob.c:505:12: warning: equality comparison with extraneous parentheses 
[-Wparentheses-equality]
if ((cc == 0)) {
 ~~~^~~~
glob.c:505:12: note: remove extraneous parentheses around the comparison to 
silence this warning
if ((cc == 0)) {
~   ^   ~
glob.c:505:12: note: use '=' to turn this equality comparison into an assignment
if ((cc == 0)) {
^~
=
2 warnings and 1 error generated.
make[5]: *** [glob.o] Error 1
make[5]: Leaving directory 
`/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin/animate'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin/animate'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/sw/src/fink.build/geomview194-shlibs-1.9.4-1003/geomview-1.9.4'
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.AqJ93 failed, exit code 2


Best Regards
Petri Piila

petri.pi...@kolumbus.fi



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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