Hi,
I downloaded 3.2.3 package, and builded without troubles, but I get the same error, Travis Griggs reported in the morinng trying to use gst-package, to install grease (previous step to install Iliad). I downloaded the code with git, and tried to build, but once configure, I get following output with 'make check' and 'make'. make *********************** .. .. .. .. Making all in tests make[4]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv/tests' make[4]: No se hace nada para `all'. make[4]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv/tests' make[4]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' Now please type 'make check' to run a quick test suite. Hope it works. make[4]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' make[3]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' make[2]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' Making all in libgst make[2]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make[3]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wdeclaration- after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing -o genprims genpr-parse.o genpr-scan.o ../snprintfv/snprintfv/libsnprintfvc.la ../lib- src/library.la -lrt -lm libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wno-format - Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno- switch -fno-gcse -fstrict-aliasing -o genprims genpr-parse.o genpr-scan.o ../snprintfv/snprintfv/.libs/libsnprintfvc.a ../lib-src/.libs/library.a - lpthread -ldl -lrt -lm genpr-scan.o: In function `main': /home/giuseppe/Desarrollo/smalltalk/libgst/genpr-scan.c:1: multiple definition of `main' genpr-parse.o:/home/giuseppe/Desarrollo/smalltalk/libgst/genpr-parse.c:1: first defined here collect2: ld returned 1 exit status make[3]: *** [genprims] Error 1 make[3]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make[2]: *** [prims.stamp] Error 2 make[2]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk' make: *** [all] Error 2 ************************************ end make make check ******************************** Starting recursion pass 1. Stack overflow 1 caught. Starting recursion pass 2. Stack overflow 2 caught. Segmentation violation correctly detected. Test passed. PASS: stackoverflow2 ================== All 4 tests passed ================== make[3]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv/tests' make[2]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv/tests' make[2]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' Now please type 'make install' to install the package. make[2]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' make[1]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/sigsegv' Making check in libgst make[1]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make[2]: se ingresa al directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wdeclaration- after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing -o genprims genpr-parse.o genpr-scan.o ../snprintfv/snprintfv/libsnprintfvc.la ../lib- src/library.la -lrt -lm libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wno-format - Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno- switch -fno-gcse -fstrict-aliasing -o genprims genpr-parse.o genpr-scan.o ../snprintfv/snprintfv/.libs/libsnprintfvc.a ../lib-src/.libs/library.a - lpthread -ldl -lrt -lm genpr-scan.o: In function `main': /home/giuseppe/Desarrollo/smalltalk/libgst/genpr-scan.c:1: multiple definition of `main' genpr-parse.o:/home/giuseppe/Desarrollo/smalltalk/libgst/genpr-parse.c:1: first defined here collect2: ld returned 1 exit status make[2]: *** [genprims] Error 1 make[2]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make[1]: *** [prims.stamp] Error 2 make[1]: se sale del directorio `/home/giuseppe/Desarrollo/smalltalk/libgst' make: *** [check-recursive] Error 1 ***************** end make check Version updated. giuseppe@casiopea:~/Desarrollo/smalltalk$ git show commit 96ea7ed24d02f43c309ce6c79981f2b04c5b2845 Merge: b922777 e28e7bd Author: Paolo Bonzini <[hidden email]> Date: Fri Mar 11 10:39:03 2011 +0100 Merge branch 'stable-3.2' I checked all the libs, and I have all in the version needed, except autoreconf: giuseppe@casiopea:~/Desarrollo/smalltalk$ autoreconf --version autoreconf (GNU Autoconf) 2.67 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. But GST 3.2.3 builded like a charm. Some idea? giuseppe@casiopea:~/Desarrollo/smalltalk$ uname -a Linux casiopea 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux Regards. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
> genpr-scan.o: In function `main': > /home/giuseppe/Desarrollo/smalltalk/libgst/genpr-scan.c:1: multiple definition > of `main' > Hi, I think this is due a missing dependency like flex or gawk. Could you remove the generated file, install them and try again? _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 03/19/2011 03:59 PM, Holger Hans Peter Freyther wrote:
> >> genpr-scan.o: In function `main': >> /home/giuseppe/Desarrollo/smalltalk/libgst/genpr-scan.c:1: multiple definition >> of `main' >> > > Hi, > > I think this is due a missing dependency like flex or gawk. Could you remove > the generated file, install them and try again? Yes, it is. Also, please try the stable-3.2 branch. The master branch is a bit in flux. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On Sábado, 19 de Marzo de 2011 16:28:05 Paolo Bonzini escribió:
> On 03/19/2011 03:59 PM, Holger Hans Peter Freyther wrote: > >> genpr-scan.o: In function `main': > >> /home/giuseppe/Desarrollo/smalltalk/libgst/genpr-scan.c:1: multiple > >> definition of `main' > > > > Hi, > > > > I think this is due a missing dependency like flex or gawk. Could you > > remove the generated file, install them and try again? > > Yes, it is. > > Also, please try the stable-3.2 branch. The master branch is a bit in > flux. > > Paolo > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/help-smalltalk Thanks for the answer Paolo, Then, how to "fight" against this error in stable? giuseppe@casiopea:~/Desarrollo$ gst-package --download grease -t ~/.st Object: nil error: Invalid value nil: object not indexable SystemExceptions.NotIndexable(Exception)>>pass (ExcHandling.st:385) optimized [] in UndefinedObject>>executeStatements (/usr/local/share/smalltalk/scripts/Package.st:1195) SystemExceptions.NotIndexable(Exception)>>activateHandler: (ExcHandling.st:516) SystemExceptions.NotIndexable(Exception)>>signal (ExcHandling.st:254) SystemExceptions.NotIndexable class(SystemExceptions.InvalidValue class)>>signalOn: (SysExcept.st:409) UndefinedObject(Object)>>checkIndexableBounds: (Object.st:792) UndefinedObject(Object)>>at: (Object.st:858) File class(FilePath class)>>isAbsolute: (FilePath.st:171) File class(FilePath class)>>fullNameFor: (FilePath.st:187) File class>>name: (File.st:112) PackageFiles>>addURL: (/usr/local/share/smalltalk/scripts/Package.st:322) PkgInstall(PackageCommand)>>addFile: (/usr/local/share/smalltalk/scripts/Package.st:591) optimized [] in PackageCommand>>runOnAll: (/usr/local/share/smalltalk/scripts/Package.st:602) OrderedCollection>>do: (OrderColl.st:68) PkgInstall(PackageCommand)>>runOnAll: (/usr/local/share/smalltalk/scripts/Package.st:603) [] in PkgInstall(Command)>>executeOnAll: (/usr/local/share/smalltalk/scripts/Package.st:529) BlockClosure>>ensure: (BlkClosure.st:269) ProcessVariable>>use:during: (ProcEnv.st:74) CurrentCommand class(DynamicVariable class)>>use:during: (DynVariable.st:55) PkgInstall(Command)>>executeOnAll: (/usr/local/share/smalltalk/scripts/Package.st:523) PkgDownload>>runOnAll: (/usr/local/share/smalltalk/scripts/Package.st:559) [] in PkgDownload(Command)>>executeOnAll: (/usr/local/share/smalltalk/scripts/Package.st:529) BlockClosure>>ensure: (BlkClosure.st:269) ProcessVariable>>use:during: (ProcEnv.st:74) CurrentCommand class(DynamicVariable class)>>use:during: (DynVariable.st:55) PkgDownload(Command)>>executeOnAll: (/usr/local/share/smalltalk/scripts/Package.st:523) PackageManager>>run (/usr/local/share/smalltalk/scripts/Package.st:1182) optimized [] in UndefinedObject>>executeStatements (/usr/local/share/smalltalk/scripts/Package.st:1189) BlockClosure>>on:do: (BlkClosure.st:193) UndefinedObject>>executeStatements (/usr/local/share/smalltalk/scripts/Package.st:1191) gst-package: Invalid value nil: object not indexable Or is better to wait to Monday to 3.2.4? Cheers. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 03/19/2011 05:27 PM, Giuseppe Luigi Punzi wrote:
> Thanks for the answer Paolo, > > Then, how to "fight" against this error in stable? > > giuseppe@casiopea:~/Desarrollo$ gst-package --download grease -t ~/.st > Object: nil error: Invalid value nil: object not indexable > SystemExceptions.NotIndexable(Exception)>>pass (ExcHandling.st:385) > optimized [] in UndefinedObject>>executeStatements > (/usr/local/share/smalltalk/scripts/Package.st:1195) > SystemExceptions.NotIndexable(Exception)>>activateHandler: > (ExcHandling.st:516) > SystemExceptions.NotIndexable(Exception)>>signal (ExcHandling.st:254) > SystemExceptions.NotIndexable class(SystemExceptions.InvalidValue > class)>>signalOn: (SysExcept.st:409) > UndefinedObject(Object)>>checkIndexableBounds: (Object.st:792) > UndefinedObject(Object)>>at: (Object.st:858) > File class(FilePath class)>>isAbsolute: (FilePath.st:171) > File class(FilePath class)>>fullNameFor: (FilePath.st:187) > File class>>name: (File.st:112) > PackageFiles>>addURL: (/usr/local/share/smalltalk/scripts/Package.st:322) > PkgInstall(PackageCommand)>>addFile: > (/usr/local/share/smalltalk/scripts/Package.st:591) > optimized [] in PackageCommand>>runOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:602) > OrderedCollection>>do: (OrderColl.st:68) > PkgInstall(PackageCommand)>>runOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:603) > [] in PkgInstall(Command)>>executeOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:529) > BlockClosure>>ensure: (BlkClosure.st:269) > ProcessVariable>>use:during: (ProcEnv.st:74) > CurrentCommand class(DynamicVariable class)>>use:during: (DynVariable.st:55) > PkgInstall(Command)>>executeOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:523) > PkgDownload>>runOnAll: (/usr/local/share/smalltalk/scripts/Package.st:559) > [] in PkgDownload(Command)>>executeOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:529) > BlockClosure>>ensure: (BlkClosure.st:269) > ProcessVariable>>use:during: (ProcEnv.st:74) > CurrentCommand class(DynamicVariable class)>>use:during: (DynVariable.st:55) > PkgDownload(Command)>>executeOnAll: > (/usr/local/share/smalltalk/scripts/Package.st:523) > PackageManager>>run (/usr/local/share/smalltalk/scripts/Package.st:1182) > optimized [] in UndefinedObject>>executeStatements > (/usr/local/share/smalltalk/scripts/Package.st:1189) > BlockClosure>>on:do: (BlkClosure.st:193) > UndefinedObject>>executeStatements > (/usr/local/share/smalltalk/scripts/Package.st:1191) > gst-package: Invalid value nil: object not indexable > > Or is better to wait to Monday to 3.2.4? Master and stable are the same in this respect. So it is probably a configuration error on your side. Waiting for 3.2.4 is a good plan, and will also fix the flex dependency. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |