On Fri, Feb 15, 2013 at 10:50:57PM +0800, Shih-Kai Chou wrote:
> Hi,
> 
> I counter the problem:
> 
> ...
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/confio.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/copyrite.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/crecipdata.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/disre.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/do_fit.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/enxio.c.o
> [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/ewald_util.c.o
> [  2%] [  2%] Building C object src/gmxlib/CMakeFiles/gmx.dir/ffscanf.c.o
> Building C object src/gmxlib/CMakeFiles/gmx.dir/filenm.c.o
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:158:7:
> 警告:隱含宣告函式 「asize」 [-Wimplicit-function-declaration]
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:158:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:158:7:
> 錯誤:(在 「deffile[2].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:160:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:160:7:
> 錯誤:(在 「deffile[3].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:162:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:162:7:
> 錯誤:(在 「deffile[4].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:170:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:170:7:
> 錯誤:(在 「deffile[10].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:172:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:172:7:
> 錯誤:(在 「deffile[11].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:189:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:189:7:
> 錯誤:(在 「deffile[27].ntps」 的初始化附近)
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:191:7:
> 錯誤:初始值設定元素不是常數
> /sw/src/fink.build/gromacs-4.6-1/gromacs-4.6/src/gmxlib/filenm.c:191:7:
> 錯誤:(在 「deffile[28].ntps」 的初始化附近)
> make[2]: *** [src/gmxlib/CMakeFiles/gmx.dir/filenm.c.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [src/gmxlib/CMakeFiles/gmx.dir/all] Error 2
> make: *** [all] Error 2

   Could you please append 'VERBOSE=1' to all of the lines with 'make' in
the gromacs.info file and try repeating the build again. Also, did you do
a 'fink selfupate' and 'fink update-all' to make sure your package set is
current? Lastly, is this a x86_64 fink installion on 10.6 or i386 fink?
If the later, did you upgrade it from a previous 10.5 fink installation or
clean install fink on 10.6?
            Jack

> ### execution of /tmp/fink.sYR7C failed, exit code 2
> ### execution of /tmp/fink.tn3ic failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gromacs-4.6-1
> (Reading database ... 285658 files and directories currently installed.)
> Removing fink-buildlock-gromacs-4.6-1 ...
> Failed: phase compiling: gromacs-4.6-1 failed
> 
> 
> /////////////////////////////////////////////////////////////////////////////
> 
> (If my translation is correct, )
> 錯誤:初始值設定元素不是常數 ==>
> Error : the set element of initial value is not constant
> 

ps It might be helpful to also set LANG=en_US.UTF-8 in the info file
to make sure this really gives the same error.

> 
> 
> Package manager version: 0.34.5
> Distribution version: selfupdate-rsync Fri Feb 15 21:31:17 2013, 10.6,
> x86_64
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode.app: 3.2.6
> Xcode command-line tools: 3.2.6
> Max. Fink build jobs:  8
> 
> 
> 
> Thanks,
> 
> Shih-Kai Chou

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to