Building GST 3.2.3 (git)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building GST 3.2.3 (git)

Giuseppe
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

face-raspberry.png (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building GST 3.2.3 (git)

Giuseppe
Hi all,

Forgot my last message, I sent it as HTML as a mistake :P

I'm trying to build gst in Fedora 14, but 'make' fails in this:

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/glpunzi/git/smalltalk/libgst/genpr-scan.c:1: multiple definition
of `main'
genpr-parse.o:/home/glpunzi/git/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/glpunzi/git/smalltalk/libgst'
make[2]: *** [prims.stamp] Error 2
make[2]: se sale del directorio `/home/glpunzi/git/smalltalk/libgst'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/glpunzi/git/smalltalk'
make: *** [all] Error 2

I can't figure what could be the problem.

Somebody get finnally GST builded in OSX?

And in Windows? (with GTK/VisualGST support)

Paolo, I remember you were studying the possibility of a Windows binary,
what happened to this?

Cheers to all.

El jue, 10-02-2011 a las 09:24 +0100, Giuseppe Luigi escribió:
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Building GST 3.2.3 (git)

Paolo Bonzini-2
On 02/10/2011 09:30 AM, Giuseppe Luigi wrote:

> I'm trying to build gst in Fedora 14, but 'make' fails in this:
>
> 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/glpunzi/git/smalltalk/libgst/genpr-scan.c:1: multiple definition
> of `main'
> genpr-parse.o:/home/glpunzi/git/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/glpunzi/git/smalltalk/libgst'
> make[2]: *** [prims.stamp] Error 2
> make[2]: se sale del directorio `/home/glpunzi/git/smalltalk/libgst'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio `/home/glpunzi/git/smalltalk'
> make: *** [all] Error 2
>
> I can't figure what could be the problem.

You are missing flex and possibly bison.

Please read the documentation on http://smalltalk.gnu.org/download/cvs.

I suggest you use the stable-3.2 branch.

> Somebody get finnally GST builded in OSX?

Don't know about VisualGST, but GST always built on OSX.  The latest 3.2
stable also builds 64-bit.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Building GST 3.2.3 (git)

Giuseppe
Ok, the dependencies I installed was:
http://smalltalk.gnu.org/download

And now, I installed flex and bison, and did a 'git checkout -b
stable-3.2 origin/stable-3.2'
but I'm having the same issue.

Could be something related to my Fedora box is 64 bits?

make[2]: se sale del directorio `/home/glpunzi/git/smalltalk/sigsegv'
Making all in libgst
make[2]: se ingresa al directorio `/home/glpunzi/git/smalltalk/libgst'
make[3]: se ingresa al directorio `/home/glpunzi/git/smalltalk/libgst'
/bin/sh ../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/glpunzi/git/smalltalk/libgst/genpr-scan.c:1: multiple definition
of `main'
genpr-parse.o:/home/glpunzi/git/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/glpunzi/git/smalltalk/libgst'
make[2]: *** [prims.stamp] Error 2
make[2]: se sale del directorio `/home/glpunzi/git/smalltalk/libgst'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/glpunzi/git/smalltalk'
make: *** [all] Error 2


Cheers.

El jue, 10-02-2011 a las 09:56 +0100, Paolo Bonzini escribió:

> On 02/10/2011 09:30 AM, Giuseppe Luigi wrote:
> > I'm trying to build gst in Fedora 14, but 'make' fails in this:
> >
> > 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/glpunzi/git/smalltalk/libgst/genpr-scan.c:1: multiple definition
> > of `main'
> > genpr-parse.o:/home/glpunzi/git/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/glpunzi/git/smalltalk/libgst'
> > make[2]: *** [prims.stamp] Error 2
> > make[2]: se sale del directorio `/home/glpunzi/git/smalltalk/libgst'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: se sale del directorio `/home/glpunzi/git/smalltalk'
> > make: *** [all] Error 2
> >
> > I can't figure what could be the problem.
>
> You are missing flex and possibly bison.
>
> Please read the documentation on http://smalltalk.gnu.org/download/cvs.
>
> I suggest you use the stable-3.2 branch.
>
> > Somebody get finnally GST builded in OSX?
>
> Don't know about VisualGST, but GST always built on OSX.  The latest 3.2
> stable also builds 64-bit.
>
> Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Building GST 3.2.3 (git)

Paolo Bonzini-2
On 02/10/2011 10:43 AM, Giuseppe Luigi wrote:
> And now, I installed flex and bison, and did a 'git checkout -b
> stable-3.2 origin/stable-3.2'
> but I'm having the same issue.

Try make maintainer-clean, or cloning from scratch.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk