Wabbitcode on linux

Oct 25, 2011 at 2:51 PM

Hi,

I'm new on Ubuntu, I've downloaded wabbitcode, extracted it, but I don't know how to install it.

Can you help me ?

See you

Developer
Oct 25, 2011 at 2:52 PM

If I recall correctly youre going to want to do a ./configure make then make install on the directory you extracted.

Oct 25, 2011 at 3:06 PM
Edited Oct 25, 2011 at 3:07 PM

Sorry, I haven't installed gtk 2 library. I've installed it using <tt>sudo apt-get install libgtk2.0-dev, now I've this error :
</tt>

 

ubuntu@ubuntu:~/Desktop/wabbitcode-1.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking if debug is enabled... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/spasm/Makefile
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
ubuntu@ubuntu:~/Desktop/wabbitcode-1.0$ make
make  all-recursive
make[1]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0 »
Making all in src
make[2]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src »
Making all in spasm
make[3]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -Wall  -DWITH_REUSABLES -DUSE_GMP -I . -I parser -g -O2 -MT spasm-export.o -MD -MP -MF ".deps/spasm-export.Tpo" -c -o spasm-export.o `test -f 'export.c' || echo './'`export.c; \
    then mv -f ".deps/spasm-export.Tpo" ".deps/spasm-export.Po"; else rm -f ".deps/spasm-export.Tpo"; exit 1; fi
export.c:7:17: error: gmp.h: Aucun fichier ou dossier de ce type
export.c:13:85: error: openssl/md5.h: Aucun fichier ou dossier de ce type
export.c: In function ‘makeapp’:
export.c:208: warning: implicit declaration of function ‘MD5’
export.c: In function ‘siggen’:
export.c:269: error: ‘mpz_t’ undeclared (first use in this function)
export.c:269: error: (Each undeclared identifier is reported only once
export.c:269: error: for each function it appears in.)
export.c:273: error: expected ‘;’ before ‘mhash’
export.c:280: warning: implicit declaration of function ‘mpz_init’
export.c:280: error: ‘mhash’ undeclared (first use in this function)
export.c:281: error: ‘p’ undeclared (first use in this function)
export.c:282: error: ‘q’ undeclared (first use in this function)
export.c:283: error: ‘r’ undeclared (first use in this function)
export.c:284: error: ‘s’ undeclared (first use in this function)
export.c:285: error: ‘temp’ undeclared (first use in this function)
export.c:286: error: ‘result’ undeclared (first use in this function)
export.c:299: warning: implicit declaration of function ‘mpz_import’
export.c:310: warning: implicit declaration of function ‘mpz_mul_ui’
export.c:311: warning: implicit declaration of function ‘mpz_add_ui’
export.c:320: warning: implicit declaration of function ‘mpz_legendre’
export.c:334: warning: implicit declaration of function ‘mpz_sub’
export.c:347: warning: implicit declaration of function ‘mpz_powm’
export.c:364: warning: implicit declaration of function ‘mpz_set_ui’
export.c:380: warning: implicit declaration of function ‘mpz_mul’
export.c:381: warning: implicit declaration of function ‘mpz_mod’
export.c:390: warning: implicit declaration of function ‘mpz_add’
export.c:398: warning: implicit declaration of function ‘mpz_sizeinbase’
export.c:400: warning: implicit declaration of function ‘mpz_export’
export.c:413: warning: implicit declaration of function ‘mpz_clear’
export.c:276: warning: unused variable ‘i’
make[3]: *** [spasm-export.o] Erreur 1
make[3]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0 »
make: *** [all] Erreur 2
Hope this help, thanks for the great work, wabbitcode windows should be a beta now instead of alpha : there is bugs, but it's still usable.
Developer
Oct 25, 2011 at 3:10 PM

You're missing libgmp3-dev and libssl-dev. Both of those are needed for SPASM. I also reccomend checking out of the SVN and replacing that folder with the latest SPASM code as the version is several years old. The svn link is on the spasm download page. As for why Wabbitcode is still in alpha there are a number of show stopping bugs that are in in, that I would not consider to qualify for beta status.

Oct 25, 2011 at 3:16 PM

Sorry another problem : (I've installed these two libs)

I typed ./configure make and then make install :

 

 

ubuntu@ubuntu:~/Desktop/wabbitcode-1.0$ ./configure make
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for make-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for make-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking if debug is enabled... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/spasm/Makefile
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
ubuntu@ubuntu:~/Desktop/wabbitcode-1.0$ make install
Making install in src
make[1]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src »
Making install in spasm
make[2]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
make[3]: entrant dans le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
test -z "/usr/bin" || mkdir -p -- "/usr/bin"
  /usr/bin/install -c 'spasm' '/usr/bin/spasm'
/usr/bin/install: ne peut créer le fichier régulier `/usr/bin/spasm': Permission non accordée
make[3]: *** [install-binPROGRAMS] Erreur 1
make[3]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
make[2]: *** [install-am] Erreur 2
make[2]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src/spasm »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ubuntu/Desktop/wabbitcode-1.0/src »
make: *** [install-recursive] Erreur 1

 

 

hope this help

Oct 25, 2011 at 10:18 PM

I did it doing :

./configure --prefix=/usr/local

then "make"

then "sudo make install"

 

Some guys said me that it can broke up the sys if the user uses a source based linux, how to prevent it ?

 

see you

Nov 23, 2015 at 5:04 PM
Issue asking for Linux builds: https://wabbit.codeplex.com/workitem/12275