Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
irssi-mod-fish-0.99 compile fail 64bit [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Mon Dec 17, 2007 12:31 am    Post subject: irssi-mod-fish-0.99 compile fail 64bit [SOLVED] Reply with quote

Package :

Code:
 net-irc/irssi-mod-fish
      Latest version available: 0.99
      Size of files: 839 kB
      Homepage:      http://fish.sekure.us/
      Description:   FiSH blowfish encryption irssi module
      License:       as-is


Error:
Code:
>>> Unpacking source...
>>> Unpacking irssi-0.8.9.tar.bz2 to /var/tmp/portage/net-irc/irssi-mod-fish-0.99/work
>>> Unpacking FiSH-irssi.v0.99-source.zip to /var/tmp/portage/net-irc/irssi-mod-fish-0.99/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source ...
 * econf: updating irssi-0.8.9/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating irssi-0.8.9/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... 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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-g95... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc static flag  works... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for sed... /bin/sed
checking for perl... /usr/bin/perl
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for mkfifo... yes
checking for fcntl... yes
checking for nl_langinfo... yes
checking for socket... yes
checking for inet_addr... yes
checking for socklen_t... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking size of off_t... 8
checking whether GLib is unpacked to irssi dir... no
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.14.4)
checking for openssl... yes
checking SSL_CFLAGS... 
checking SSL_LIBS... -lssl -lcrypto -ldl 
checking if we can link dynamic libraries with modules... yes
configure: checking "location of ncurses.h file"...
Found ncurses on /usr/include/ncurses.h
checking for initscr in -lncurses... yes
checking for use_default_colors... yes
checking for idcok... yes
checking for resizeterm... yes
checking for wresize... yes
checking for setupterm... yes
checking for working Perl support... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/core/Makefile
config.status: creating src/irc/Makefile
config.status: creating src/irc/core/Makefile
config.status: creating src/irc/dcc/Makefile
config.status: creating src/irc/notifylist/Makefile
config.status: creating src/irc/proxy/Makefile
config.status: creating src/irc/flood/Makefile
config.status: creating src/fe-common/Makefile
config.status: creating src/fe-common/core/Makefile
config.status: creating src/fe-common/irc/Makefile
config.status: creating src/fe-common/irc/dcc/Makefile
config.status: creating src/fe-common/irc/notifylist/Makefile
config.status: creating src/fe-none/Makefile
config.status: creating src/fe-text/Makefile
config.status: creating src/lib-config/Makefile
config.status: creating src/lib-popt/Makefile
config.status: creating src/perl/Makefile
config.status: creating src/perl/common/Makefile.PL
config.status: creating src/perl/irc/Makefile.PL
config.status: creating src/perl/ui/Makefile.PL
config.status: creating src/perl/textui/Makefile.PL
config.status: creating scripts/Makefile
config.status: creating scripts/examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/help/Makefile
config.status: creating docs/help/in/Makefile
config.status: creating irssi-version.h
config.status: creating stamp.h
config.status: creating irssi.spec
config.status: creating irssi-config
config.status: creating config.h
config.status: executing default-1 commands

Building text frontend ........... : yes, using terminfo
Building irssi bot ............... : no
Building irssi proxy ............. : no
Building with module support ..... : yes
Building with Perl support ....... : static (in irssi binary)
Perl library directory ........... : /usr/lib64/perl5/5.8.8/x86_64-linux
  - NOTE: This was automatically set to the same directory you gave with
  --prefix. If you want the perl libraries to install to their 'correct'
  path, you'll need to give --with-perl-lib=site option to configure.
  Anyway, installing perl to this directory should work just as well.
Install prefix ................... : /usr

Building with IPv6 support ....... : no
Building with SSL support ........ : yes
Building with 64bit DCC support .. : yes
Building with garbage collector .. : no

If there was any problems, read the INSTALL file.

######################## FiSH for irssi COMPILING NOTES ########################
--------------------------------------------------------------------------------
You'll need MIRACL (http://indigo.ie/~mscott/) to compile FiSH! It is suggested
to recompile /usr/lib64/miracl.a on your target machine (compile instructions can be found
in miracl.zip/linux.txt). Also, make sure you are using the correct mirdef.h
(especially in case of exotic systems). On AMD64 systems use 'mirdef_amd64.h'
and have a look at miracl.zip/amd64.txt, use 'mirdef_macosx.h' for MacOSX. You
can test MIRACL with pk-demo. BSD fails in pk-demo.cpp and wants a '(time_t *)'
in line 54.

Using irssi source from: /var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source/../irssi-0.8.9
Using glib source from: /usr/lib64/glib-2.0/include (required to compile irssi)
-- Please make sure you have both installed!

-- If you plan to use a custom password for your blow.ini (via /setinipw),
-- you can skip the following note!
You are adviced to change default_iniKey in FiSH.h - But remember, changing the
default blow.ini password will make your old keys in blow.ini unusable!

>> Usual procedure to compile FiSH:
   unzip FiSH-irssi.v0.99-source.zip;cd FiSH-irssi.v0.99-source
   mkdir MIRACL;cd MIRACL;cp ../mir_amd64 amd64;cp ../mir_macosx macosx
   wget http://indigo.ie/~mscott/miracl.zip
   unzip -j -aa -L miracl.zip  (see linux.txt/amd64.txt for more info)
   bash linux  (or 'bash amd64' / 'bash macosx')
   cp /usr/lib64/miracl.a ../;cd ..
   <adjust glib_dir and irssi_dir in 'Makefile'>
   make  (or 'make macosx' / 'make amd64')
   cp libfish.so ~/irssi/lib/irssi/modules
--------------------------------------------------------------------------------

make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

Cleaning up...

Compiling now...

make[1]: Entering directory `/var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
x86_64-pc-linux-gnu-gcc -c -static SHA-256.c
SHA-256.c: In function 'SHA256_memory':
SHA-256.c:164: warning: incompatible implicit declaration of built-in function 'memset'
x86_64-pc-linux-gnu-gcc -c -static base64.c
base64.c: In function 'b64toh':
base64.c:28: warning: incompatible implicit declaration of built-in function 'strlen'
base64.c: In function 'htob64':
base64.c:91: warning: incompatible implicit declaration of built-in function 'strlen'
x86_64-pc-linux-gnu-gcc -c -static blowfish.c
blowfish.c: In function 'encrypt_string':
blowfish.c:146: warning: incompatible implicit declaration of built-in function 'malloc'
blowfish.c:147: warning: incompatible implicit declaration of built-in function 'strncpy'
blowfish.c:148: warning: incompatible implicit declaration of built-in function 'memset'
blowfish.c:149: warning: incompatible implicit declaration of built-in function 'strlen'
blowfish.c: In function 'decrypt_string':
blowfish.c:186: warning: incompatible implicit declaration of built-in function 'malloc'

blowfish.c:187: warning: incompatible implicit declaration of built-in function 'strncpy'
blowfish.c:188: warning: incompatible implicit declaration of built-in function 'memset'
blowfish.c:189: warning: incompatible implicit declaration of built-in function 'strlen'
blowfish.c: In function 'encrypt_key':
blowfish.c:212: warning: incompatible implicit declaration of built-in function 'strcpy'
blowfish.c:214: warning: incompatible implicit declaration of built-in function 'strlen'
x86_64-pc-linux-gnu-gcc -c -static cfgopts.c
make[1]: Leaving directory `/var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source'
make[1]: Entering directory `/var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
x86_64-pc-linux-gnu-gcc -static -c DH1080.c
DH1080.c: In function 'DH1080_gen':
DH1080.c:63: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:77: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c: In function 'DH1080_comp':
DH1080.c:120: warning: incompatible implicit declaration of built-in function 'strspn'
DH1080.c:120: warning: incompatible implicit declaration of built-in function 'strlen'
DH1080.c:122: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:139: warning: incompatible implicit declaration of built-in function 'memset'
x86_64-pc-linux-gnu-gcc -static -shared -fPIC -DPIC DH1080.o /usr/lib64/miracl.a SHA-256.o base64.o -o DH1080.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/crtbeginT.o: relocation R_X86_64_32 against `__deregister_frame_info' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [DH] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-irc/irssi-mod-fish-0.99/work/FiSH-irssi.v0.99-source'
make: *** [all] Error 2
 *
 * ERROR: net-irc/irssi-mod-fish-0.99 failed.
 * Call stack:
 *                    ebuild.sh, line 1701:  Called dyn_compile
 *                    ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                    ebuild.sh, line   44:  Called src_compile
 *   irssi-mod-fish-0.99.ebuild, line   67:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-irc:irssi-mod-fish-0.99:20071217-002911.log'.
 *

_________________
443640, Questioning, Unsolved, Configs, BinHost


Last edited by HeXiLeD on Thu Dec 25, 2008 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Sun Apr 13, 2008 9:46 pm    Post subject: Reply with quote

10.02.2008:
new version of FiSH for irssi is in development: FiSH for irssi v1.00 RC4
FiSH for irssi - v1.00 RC4 (with proper x64 support)
http://fish.sekure.us/forum/viewtopic.php?p=1400#1400

there is no ebuild in any overlay yet.
the only overlay that i have used is from http://www.shatow.net/gentoo and it only works for x86
_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
qriff
n00b
n00b


Joined: 04 Dec 2003
Posts: 73

PostPosted: Sun May 03, 2009 12:43 pm    Post subject: Reply with quote

64bit FiSH (libfish.so) for Irssi
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9752
Location: Córdoba (Spain)

PostPosted: Sun May 03, 2009 2:07 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

Please, continue on the thread gently pointed by qriff.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum