nmlorg / naim

naim is a console client for AOL Instant Messenger (AIM), AOL I Seek You (ICQ), Internet Relay Chat (IRC), and The lily CMC.
http://naim.n.ml.org/
1 stars 0 forks source link

TOC is no more #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The TOC protocol is no more.  Development should continue on OSCAR.

Original issue reported on code.google.com by joshua.a...@gmail.com on 20 Jul 2011 at 8:11

GoogleCodeExporter commented 9 years ago
I would like to second this, I would like to see NAIM continue on.  Maybe it 
can be made to work with libpurple?

Original comment by gmo...@gmail.com on 22 Jul 2011 at 7:34

GoogleCodeExporter commented 9 years ago
Ditto, FWIW.  I've used "Finch" and the UI is terrible compared to naim.

-Dan

Original comment by goo...@gushi.org on 22 Jul 2011 at 10:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
naim is the best CLI aim client!
I want to stop using pork (poor animal..).

Please bring naim back to life asap!

Original comment by alexxbea...@gmail.com on 27 Jul 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Im in the same boat.  It seems like the ip addy of the TOC auth server has 
changed.  I dunno if this is a hard coded address in the software or can be 
configed.  The culprit ip is 64.12.202.7 or 64.12.202.14  These are valid ip's 
within the AOL reserved block 64.12.255.255 but I dont think there is a machine 
behind them.  Would be nice of AOL to fwd those DNS requests to the new server 
until such time as they are needed.  Dunno if the whole auth has changed or 
what but they cannot be pinged nor tracerouted...

Original comment by frisbe...@gmail.com on 28 Jul 2011 at 3:49

GoogleCodeExporter commented 9 years ago
It's easy to change the IPs naim connects to by default, but I think we've been 
assuming the service has been shut down entirely. (I just tried 
toc-m01.blue.aol.com through toc-m10.blue.aol.com and both of 
toc.oscar.aol.com's IPs and they're all blackholed, and 
aimexpress.oscar.aol.com doesn't exist in DNS [anymore?].)

Original comment by n...@ml.org on 28 Jul 2011 at 4:44

GoogleCodeExporter commented 9 years ago
Hi Dan,
Yes, you are right, AOL has shut down TOC service for good permanently. 

Original comment by gurhan.o...@gmail.com on 28 Jul 2011 at 5:15

GoogleCodeExporter commented 9 years ago
I am making some level of progress forward on the OSCAR implementation:

  https://github.com/jwise/naim-oscar

I'm happy to help mentor anyone else who wishes to work on this as well.

Original comment by joshua.a...@gmail.com on 7 Aug 2011 at 10:44

GoogleCodeExporter commented 9 years ago
I applaud waking this project back up and getting it up on github.  I
wish my c weren't so rusty, or I'd offer to lend a hand.

Thanks for taking this on, though.

Original comment by georged...@gmail.com on 7 Aug 2011 at 4:37

GoogleCodeExporter commented 9 years ago
naim ftw

Original comment by lnx...@gmail.com on 8 Aug 2011 at 6:12

GoogleCodeExporter commented 9 years ago
naim/OSCAR is now ready for more substantial testing.  I use it as my daily 
chat client, without too many issues.

I've released a snapshot:

  https://github.com/downloads/jwise/naim/naim-0.12.0-2011-09-10-0413.tar.bz2

and of course you can browse the source:

  https://github.com/jwise/naim

This has been about a month of hacking in all my spare time -- hopefully 
someone enjoys it!

Original comment by joshua.a...@gmail.com on 10 Sep 2011 at 11:23

GoogleCodeExporter commented 9 years ago
Nicely done, sir. You have earned a cookie.

Original comment by andrew.b...@gmail.com on 10 Sep 2011 at 5:02

GoogleCodeExporter commented 9 years ago
Sweeeeeeet!!  Thanks alot for your work man!

Original comment by alexxbea...@gmail.com on 10 Sep 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Thank you kindly sir!

I know this is still a dev version so these will probably go away but here's a 
list of my issues:
Only works using "configure --enable-debug --enable-detach"
Using --prefix=$HOME causes seg faults
modules/OSCAR/init.lua: Had to comment out line 1705 to get it to connect, 
error that led me to this is below
error: [11:09:27] *** Lua hook run error: 
...c/naim-0.12.0-2011-09-10-0413/modules/OSCAR/init.lua:1703: bad argument #1 
to 'pairs' (table expected, got nil)

Again, thank you so much for this.

Original comment by z0rk...@gmail.com on 10 Sep 2011 at 6:34

GoogleCodeExporter commented 9 years ago
To the previous commenter -- can you give a backtrace of the segfault you get 
with --prefix=$HOME ?  Does your home directory have any weird characters in 
it?  I am successfully running with a --prefix on both my colo box and my 
laptop.

With regards to line 1705, that is concerning, because that should not be a 
part of connect time.  (In fact, I'm not really sure how that could have 
happened...) Did you get an "OSCAR connection panic" before that?

If you could file bugs for both of those against 
https://github.com/jwise/naim-oscar , that would be great.

Thanks for your testing!

Original comment by joshua.a...@gmail.com on 10 Sep 2011 at 7:56

GoogleCodeExporter commented 9 years ago
You have my sincere gratitude.  Thank you.

Original comment by chipmast...@gmail.com on 12 Sep 2011 at 1:51

GoogleCodeExporter commented 9 years ago
I released a new snap that corrects the issue that z0rk found.

  https://github.com/downloads/jwise/naim/naim-0.12.0-2011-09-11-1731.tar.bz2

Thanks for helping out with testing.

Original comment by joshua.a...@gmail.com on 12 Sep 2011 at 8:52

GoogleCodeExporter commented 9 years ago
I get the following at build-time (under FreeBSD 6.x)

  CC     naim-conio.o
conio.c: In function `conio_bind_get_pretty':
conio.c:162: error: `conio_key_names' undeclared (first use in this function)
conio.c:162: error: (Each undeclared identifier is reported only once
conio.c:162: error: for each function it appears in.)
conio.c: In function `conio_bind_get_informative':
conio.c:191: error: `conio_key_names' undeclared (first use in this function)
conio.c: In function `conio_bind_save':
conio.c:206: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_list':
conio.c:248: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_getkey':
conio.c:278: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_doset':
conio.c:350: error: `conio_key_names' undeclared (first use in this function)
conio.c: In function `gotkey_real':
conio.c:410: error: `CONIO_KEY_SPACE_OR_NBSP' undeclared (first use in this 
function)
conio.c:412: error: `CONIO_KEY_INPUT_SCROLL_BACK' undeclared (first use in this 
function)
conio.c:412: error: `CONIO_KEY_INPUT_SCROLL_FORWARD' undeclared (first use in 
this function)
conio.c:415: error: `CONIO_KEY_REDRAW' undeclared (first use in this function)
conio.c:457: error: `CONIO_KEY_INPUT_CURSOR_LEFT' undeclared (first use in this 
function)
conio.c:461: error: `CONIO_KEY_INPUT_CURSOR_RIGHT' undeclared (first use in 
this function)
conio.c:474: error: `CONIO_KEY_TAB' undeclared (first use in this function)
conio.c:477: error: `CONIO_KEY_TAB_BUDDY_NEXT' undeclared (first use in this 
function)
conio.c:581: error: `CONIO_KEY_BUDDY_NEXT' undeclared (first use in this 
function)
conio.c:591: error: `CONIO_KEY_BUDDY_PREV' undeclared (first use in this 
function)
conio.c:604: error: `CONIO_KEY_CONN_NEXT' undeclared (first use in this 
function)
conio.c:612: error: `CONIO_KEY_CONN_PREV' undeclared (first use in this 
function)
conio.c:625: error: `CONIO_KEY_INPUT_BACKSPACE' undeclared (first use in this 
function)
conio.c:632: error: `CONIO_KEY_INPUT_DELETE' undeclared (first use in this 
function)
conio.c:636: error: `CONIO_KEY_INPUT_ENTER' undeclared (first use in this 
function)
conio.c:667: error: `CONIO_KEY_INPUT_KILL' undeclared (first use in this 
function)
conio.c:672: error: `CONIO_KEY_INPUT_KILL_WORD' undeclared (first use in this 
function)
conio.c:688: error: `CONIO_KEY_INPUT_KILL_EOL' undeclared (first use in this 
function)
conio.c:691: error: `CONIO_KEY_INPUT_PASTE' undeclared (first use in this 
function)
conio.c:694: error: `CONIO_KEY_INPUT_SYM_LT' undeclared (first use in this 
function)
conio.c:700: error: `CONIO_KEY_INPUT_SYM_GT' undeclared (first use in this 
function)
conio.c:706: error: `CONIO_KEY_INPUT_SYM_AMP' undeclared (first use in this 
function)
conio.c:712: error: `CONIO_KEY_INPUT_ENT_BOLD' undeclared (first use in this 
function)
conio.c:721: error: `CONIO_KEY_INPUT_ENT_ITALIC' undeclared (first use in this 
function)
conio.c:730: error: `CONIO_KEY_WINLIST_HIDE' undeclared (first use in this 
function)
conio.c:738: error: `CONIO_KEY_STATUS_DISPLAY' undeclared (first use in this 
function)
conio.c:760: error: `CONIO_KEY_STATUS_POKE' undeclared (first use in this 
function)
conio.c:764: error: `CONIO_KEY_BUDDY_SCROLL_BACK' undeclared (first use in this 
function)
conio.c:775: error: `CONIO_KEY_BUDDY_SCROLL_FORWARD' undeclared (first use in 
this function)
conio.c:786: error: `CONIO_KEY_INPUT_CURSOR_HOME' undeclared (first use in this 
function)
conio.c:789: error: `CONIO_KEY_INPUT_CURSOR_END' undeclared (first use in this 
function)
conio.c:792: error: `CONIO_KEY_INPUT_CURSOR_HOME_END' undeclared (first use in 
this function)
*** Error code 1

Stop in /home6/danm/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

Stop in /home6/danm/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

Stop in /home6/danm/naim-0.12.0-2011-09-11-1731.

Original comment by goo...@gushi.org on 13 Sep 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Interesting, I had no trouble (warnings, nothing deadly) compiling this on 
freebsd 6.2.  But, I have updated a lot of libs lately and did have to hack up 
some LUA stuff to get the wayyyy early alpha of this working.  (I haven't been 
back because aside from no group chat support, it has been working perfectly)

Original comment by gmo...@gmail.com on 14 Sep 2011 at 12:11

GoogleCodeExporter commented 9 years ago
Just chiming in to say I got the 2011-09-11-1731 source to compile on an Ubuntu 
11.04 box. Thanks for your work on this, I've missed my naim. :)

Original comment by estis...@gmail.com on 16 Sep 2011 at 4:34

GoogleCodeExporter commented 9 years ago
Trying to compile on freebsd-6.3 and failed;  older naims compile without 
problems.

~/naim-0.12.0-2011-09-11-1731 some.host[44]> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... libltdl/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
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 whether gcc and cc understand -c and -o together... yes

Configuring firetalk

checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for getuid... yes
checking for getpwuid... yes
checking for inet_aton... yes
checking whether byte ordering is bigendian... no

Configuring libtool

checking build system type... i386-unknown-freebsd6.3
checking host system type... i386-unknown-freebsd6.3
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.3 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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

Configuring ltdl

checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes

Configuring naim

checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether to enable /detach... no, re-run ./configure with 
--enable-detach
checking for Cygwin... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for dirent.h... (cached) yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct tm.tm_gmtoff... yes
checking for inet_ntoa... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for socket... yes
checking for connect... yes
checking for wresize in -lncurses... yes
checking for use_default_colors in -lncurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for backtrace... no
checking for getopt_long... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for hstrerror... yes
checking for strsignal... yes
checking for strverscmp... no
checking for waitpid... yes
checking for utime... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfiretalk/Makefile
config.status: creating libltdl/Makefile
config.status: creating modules/Makefile
config.status: creating lua/Makefile
config.status: creating src/Makefile
config.status: creating CYGWIN-PATCHES/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing libtool commands

Building naim 0.12.0 using gcc
       Compile flags: -g -O2
          Link flags: -g -O2

Configuration results:
  Packaging features: --disable-debug --disable-profile --disable-detach

Installation paths:
               --bindir: /usr/local/bin
       --with-pkgmoddir: /usr/local/lib/naim
           --includedir: /usr/local/include
   --with-pkgincludedir: /usr/local/include/naim
               --mandir: /usr/local/share/man
       --with-pkgdocdir: /usr/local/share/doc/naim
 --without-cygwindocdir
      --with-pkgtarball: naim-0.12.0-i386-unknown-freebsd6.3.tbz2

~/naim-0.12.0-2011-09-11-1731 more.grillo.net[45]> make
Making all in libfiretalk
Making all in libltdl
make  all-am
Making all in lua
Making all in src
AWK="nawk" CPP="gcc -E  -I. -I../include -I../libfiretalk -I../libltdl 
-DHAVE_CONFIG_H" ./gencmd2.sh > commands.txt
make  all-am
AWK="nawk" CPP="gcc -E  -I. -I../include -I../libfiretalk -I../libltdl 
-DHAVE_CONFIG_H" ./gencmdarc.sh > cmdar.c
AWK="nawk" CPP="gcc -E  -I. -I../include -I../libfiretalk -I../libltdl 
-DHAVE_CONFIG_H" ./gencmdarh.sh > cmdar.h
  CC     naim-cmdar.o
  CC     naim-commands.o
AWK="nawk" CPP="gcc -E  -I. -I../include -I../libfiretalk -I../libltdl 
-DHAVE_CONFIG_H" SRCDIR=. ./genkeys.sh > conio_keys.h
./genkeys.sh: not found
*** Error code 127

~/naim-0.12.0-2011-09-11-1731 some.host[47]> find . -name "genkeys.sh" -print
./src/genkeys.sh

Stop in /raid/home/grio/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

Stop in /raid/home/grio/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

After symlinking src/genkeys.sh to . build failed with:

~/naim-0.12.0-2011-09-11-1731 some.host[62]> make
Making all in libfiretalk
Making all in libltdl
make  all-am
Making all in lua
Making all in src
make  all-am
  CC     naim-conio.o
conio.c: In function `conio_bind_get_pretty':
conio.c:162: error: `conio_key_names' undeclared (first use in this function)
conio.c:162: error: (Each undeclared identifier is reported only once
conio.c:162: error: for each function it appears in.)
conio.c: In function `conio_bind_get_informative':
conio.c:191: error: `conio_key_names' undeclared (first use in this function)
conio.c: In function `conio_bind_save':
conio.c:206: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_list':
conio.c:248: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_getkey':
conio.c:278: error: `conio_bind_names' undeclared (first use in this function)
conio.c: In function `conio_bind_doset':
conio.c:350: error: `conio_key_names' undeclared (first use in this function)
conio.c: In function `gotkey_real':
conio.c:410: error: `CONIO_KEY_SPACE_OR_NBSP' undeclared (first use in this 
function)
conio.c:412: error: `CONIO_KEY_INPUT_SCROLL_BACK' undeclared (first use in this 
function)
conio.c:412: error: `CONIO_KEY_INPUT_SCROLL_FORWARD' undeclared (first use in 
this function)
conio.c:415: error: `CONIO_KEY_REDRAW' undeclared (first use in this function)
conio.c:457: error: `CONIO_KEY_INPUT_CURSOR_LEFT' undeclared (first use in this 
function)
conio.c:461: error: `CONIO_KEY_INPUT_CURSOR_RIGHT' undeclared (first use in 
this function)
conio.c:474: error: `CONIO_KEY_TAB' undeclared (first use in this function)
conio.c:477: error: `CONIO_KEY_TAB_BUDDY_NEXT' undeclared (first use in this 
function)
conio.c:581: error: `CONIO_KEY_BUDDY_NEXT' undeclared (first use in this 
function)
conio.c:591: error: `CONIO_KEY_BUDDY_PREV' undeclared (first use in this 
function)
conio.c:604: error: `CONIO_KEY_CONN_NEXT' undeclared (first use in this 
function)
conio.c:612: error: `CONIO_KEY_CONN_PREV' undeclared (first use in this 
function)
conio.c:625: error: `CONIO_KEY_INPUT_BACKSPACE' undeclared (first use in this 
function)
conio.c:632: error: `CONIO_KEY_INPUT_DELETE' undeclared (first use in this 
function)
conio.c:636: error: `CONIO_KEY_INPUT_ENTER' undeclared (first use in this 
function)
conio.c:667: error: `CONIO_KEY_INPUT_KILL' undeclared (first use in this 
function)
conio.c:672: error: `CONIO_KEY_INPUT_KILL_WORD' undeclared (first use in this 
function)
conio.c:688: error: `CONIO_KEY_INPUT_KILL_EOL' undeclared (first use in this 
function)
conio.c:691: error: `CONIO_KEY_INPUT_PASTE' undeclared (first use in this 
function)
conio.c:694: error: `CONIO_KEY_INPUT_SYM_LT' undeclared (first use in this 
function)
conio.c:700: error: `CONIO_KEY_INPUT_SYM_GT' undeclared (first use in this 
function)
conio.c:706: error: `CONIO_KEY_INPUT_SYM_AMP' undeclared (first use in this 
function)
conio.c:712: error: `CONIO_KEY_INPUT_ENT_BOLD' undeclared (first use in this 
function)
conio.c:721: error: `CONIO_KEY_INPUT_ENT_ITALIC' undeclared (first use in this 
function)
conio.c:730: error: `CONIO_KEY_WINLIST_HIDE' undeclared (first use in this 
function)
conio.c:738: error: `CONIO_KEY_STATUS_DISPLAY' undeclared (first use in this 
function)
conio.c:760: error: `CONIO_KEY_STATUS_POKE' undeclared (first use in this 
function)
conio.c:764: error: `CONIO_KEY_BUDDY_SCROLL_BACK' undeclared (first use in this 
function)
conio.c:775: error: `CONIO_KEY_BUDDY_SCROLL_FORWARD' undeclared (first use in 
this function)
conio.c:786: error: `CONIO_KEY_INPUT_CURSOR_HOME' undeclared (first use in this 
function)
conio.c:789: error: `CONIO_KEY_INPUT_CURSOR_END' undeclared (first use in this 
function)
conio.c:792: error: `CONIO_KEY_INPUT_CURSOR_HOME_END' undeclared (first use in 
this function)
*** Error code 1

Stop in /raid/home/grio/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

Stop in /raid/home/grio/naim-0.12.0-2011-09-11-1731/src.
*** Error code 1

Stop in /raid/home/grio/naim-0.12.0-2011-09-11-1731.

Original comment by dangri...@gmail.com on 5 Oct 2011 at 9:43

GoogleCodeExporter commented 9 years ago
I compiled the naim-0.12.0-2011-09-11-1731.tar.bz2 snapshot on my machine 
running Debian 6.0.3 Squeeze. 
Got a few warnings during the build when I start naim it says "Loading user 
initialization code..." but never gets any farther than that.

-----
david@monster ~/naim/src/naim-0.12.0-2011-09-11-1731 $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
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 whether gcc and cc understand -c and -o together... yes

Configuring firetalk

checking for ranlib... ranlib
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 for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for getuid... yes
checking for getpwuid... yes
checking for inet_aton... yes
checking whether byte ordering is bigendian... no

Configuring libtool

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC  
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes  
checking whether the gcc linker (/usr/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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

Configuring ltdl

checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/local/lib 
/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes   
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no

Configuring naim

checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether to enable /detach... no, re-run ./configure with 
--enable-detach
checking for Cygwin... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for dirent.h... (cached) yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct tm.tm_gmtoff... yes
checking for inet_ntoa... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for socket... yes
checking for connect... yes
checking for wresize in -lncurses... yes
checking for use_default_colors in -lncurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for backtrace... yes
checking for backtrace_symbols_fd... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for getopt_long... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for hstrerror... yes
checking for strsignal... yes
checking for strverscmp... yes
checking for waitpid... yes
checking for utime... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfiretalk/Makefile
config.status: creating libltdl/Makefile
config.status: creating modules/Makefile
config.status: creating lua/Makefile
config.status: creating src/Makefile
config.status: creating CYGWIN-PATCHES/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing libtool commands

Building naim 0.12.0 using gcc
       Compile flags: -g -O2
          Link flags: -g -O2 -ldl

Configuration results:
  Packaging features: --disable-debug --disable-profile --disable-detach

Installation paths:
               --bindir: /usr/local/bin
       --with-pkgmoddir: /usr/local/lib/naim
           --includedir: /usr/local/include
   --with-pkgincludedir: /usr/local/include/naim
               --mandir: /usr/local/share/man
       --with-pkgdocdir: /usr/local/share/doc/naim
 --without-cygwindocdir
      --with-pkgtarball: naim-0.12.0-x86_64-unknown-linux-gnu.tbz2

david@monster ~/naim/src/naim-0.12.0-2011-09-11-1731 $ make
Making all in libfiretalk
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libfiretalk'
  CC     firetalk.lo
firetalk.c:1311:3: warning: #warning XXX: Need conn->localip
  CC     md5.lo
  CC     irc.lo
  CC     pdutil.lo
  CC     lily.lo
  CCLD   libfiretalk.la
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libfiretalk'
Making all in libltdl
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libltdl'
make  all-am
make[2]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libltdl'
  CC     loaders/dlopen.lo
  CCLD   dlopen.la
  CC     loaders/libltdlc_la-preopen.lo
  CC     libltdlc_la-lt__alloc.lo
  CC     libltdlc_la-lt_dlloader.lo
  CC     libltdlc_la-lt_error.lo
  CC     libltdlc_la-ltdl.lo
  CC     libltdlc_la-slist.lo
  CC     lt__strl.lo
  CCLD   libltdlc.la
make[2]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libltdl'
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/libltdl'
Making all in lua
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/lua'
  CC     lua511/liblua_la-lapi.lo
  CC     lua511/liblua_la-lcode.lo
  CC     lua511/liblua_la-ldebug.lo
  CC     lua511/liblua_la-ldo.lo
  CC     lua511/liblua_la-ldump.lo
  CC     lua511/liblua_la-lfunc.lo
  CC     lua511/liblua_la-lgc.lo
  CC     lua511/liblua_la-llex.lo
  CC     lua511/liblua_la-lmem.lo
  CC     lua511/liblua_la-lobject.lo
  CC     lua511/liblua_la-lopcodes.lo
  CC     lua511/liblua_la-lparser.lo
  CC     lua511/liblua_la-lstate.lo
  CC     lua511/liblua_la-lstring.lo
  CC     lua511/liblua_la-ltable.lo
  CC     lua511/liblua_la-ltm.lo
  CC     lua511/liblua_la-lundump.lo
  CC     lua511/liblua_la-lvm.lo
  CC     lua511/liblua_la-lzio.lo
  CC     lua511/liblua_la-lauxlib.lo
  CC     lua511/liblua_la-lbaselib.lo
  CC     lua511/liblua_la-ldblib.lo
  CC     lua511/liblua_la-liolib.lo
  CC     lua511/liblua_la-lmathlib.lo
  CC     lua511/liblua_la-loslib.lo
  CC     lua511/liblua_la-ltablib.lo
  CC     lua511/liblua_la-lstrlib.lo
  CC     lua511/liblua_la-loadlib.lo
  CC     lua511/liblua_la-linit.lo
  CCLD   liblua.la
  CC     libnlua_la-commands.lo
  CC     libnlua_la-conn.lo
  CC     libnlua_la-garbage.lo
  CC     libnlua_la-hooks.lo
  CC     libnlua_la-moon.lo
  CC     libnlua_la-pd.lo
  CC     libnlua_la-buffer.lo
  CC     libnlua_la-socket.lo
  CC     libnlua_la-script.lo
  CC     libnlua_la-util.lo
  CC     libnlua_la-variables.lo
  CCLD   libnlua.la
  CC     lua511/luac.o
  CC     lua511/print.o
  CCLD   luac
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/lua'
Making all in src
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/src'
make  all-am
make[2]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/src'
  CC     naim-alias.o
  CC     naim-atomizer.o
  CC     naim-buddy.o
  CC     naim-cmdar.o
  CC     naim-commands.o
  CC     naim-conio.o
  CC     naim-echof.o
  CC     naim-events.o
  CC     naim-firebind.o
  CC     naim-fireio.o
fireio.c:762:2: warning: #warning MERGE: fireio_error_msg no longer has 'is now 
away' error support!
  CC     naim-hamster.o
^[[A  CC     naim-hwprintf.o
^[[A^[[A  CC     naim-linux_vsprintf.o
^[[A  CC     naim-logging.o
  CC     naim-main.o
  CC     naim-rc.o
  CC     naim-rodents.o
  CC     naim-set.o
  CC     naim-win.o
  CCLD   naim
make[2]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/src'
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/src'
Making all in modules
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/modules'
Making all in CYGWIN-PATCHES
make[1]: Entering directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/CYGWIN-PATCHES'
rm -f ../CYGWIN-PATCHES/*.README *.README
Generating Cygwin README file, naim-0.12.0.README...
make[1]: Leaving directory 
`/home/david/naim/src/naim-0.12.0-2011-09-11-1731/CYGWIN-PATCHES'
make[1]: Entering directory `/home/david/naim/src/naim-0.12.0-2011-09-11-1731'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/david/naim/src/naim-0.12.0-2011-09-11-1731'

Original comment by DavidGar...@gmail.com on 24 Nov 2011 at 4:46

GoogleCodeExporter commented 9 years ago
I first had cc tell me couldn't finder header file conio_keys.h
changed entry around line 1016 in Makefile in /src dir. then cc
complained about missing functions. The conio files were 0k (ls -l)
. I copied two files out of src of the ports 
tree(usr/ports/net-im/naim/work/naim-0.11.8.3.2/src) install and it compiled.

With one minor warning.

Thanks!

system FreeBsd 8.2-Release
Dell Lattitude CPi 266
128 Megs ram
usb flash drive for swap file (4gig)
8gig 133x transend Compact Flash card for hard drive on pata cf adapter

Original comment by jcallawa...@gmail.com on 31 Dec 2011 at 3:49

GoogleCodeExporter commented 9 years ago
Sorry made a mistake in that last post, it should be line 1016 in MAKEFILE, my 
bad it couldn't find genkeys.sh

Original comment by jcallawa...@gmail.com on 31 Dec 2011 at 4:14