I need help

General discussion about Imptalk that doesn't have a place anywhere else.
Questions on usage which aren't bugs.

I need help

Postby inerg » Thu Feb 11, 2010 6:16 pm

Ok I was able to compile the source code for the Imptalk server into a .deb file on Ubuntu Karmic but I'm not sure how to host the server or even get it running. Currently all that ive been able to figure out is it also gave me the client version of Imptalk. I would also like to state that from what I read about Imptalk I think ill love it. Any help would be greatly appreciated and I hope people still browse this forum.
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Re: I need help

Postby James » Fri Feb 12, 2010 10:08 am

Hello inerg,

Thanks for trying out Imptalk. I still browse this forum at least once a day. :D

The .deb does not include the server anymore. There is a couple ways to use the sever but you have to run ./configure with --enable-daemon or else it will not have been compiled. The easiest way is to cd into the imptalkd/src directory and run ./imptalkd locally. The other method involves running "make install" as root.
In summary, open a terminal, change to the imptalk source directory and run one of the following sets of commands.

Option 1:
./configure --enable-daemon --enable-web --prefix=/usr --sysconfdir=/etc
make
cd ./imptalkd/src
./imptalkd

Option 2:
./configure --enable-daemon --enable-web --prefix=/usr --sysconfdir=/etc
make
sudo make install
imptalkd

I intend to release a minor update soon. I'll try and find a pragmatic way to once again include the server with the .deb and .rpm packages.

James
James
Site Admin
 
Posts: 27
Joined: Fri Aug 29, 2008 8:41 pm

Re: I need help

Postby inerg » Fri Feb 12, 2010 10:36 am

Well its good to see that your still active in this and thankyou for posting. I did try option 2 because its similar to the readme but I didnt use these two options in the configure "--prefix=/usr --sysconfdir=/etc". So ill try and recompile it with those two options added to see if it fixes my issue.

Ok so I tried the new commands and it didnt work for both methods. I'm not really sure why this is but ill see about getting the logs.
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Re: I need help

Postby inerg » Sun Feb 14, 2010 1:14 pm

Ok so heres the logs of the entire build. I also wanted to say that its nice that public server is open and I must say I really like what you can do with Imptalk it will be great when I can get a server up for my clan.

inerg@inerg-desktop:~/Desktop/imptalk-0.10.0/imptalkd/src$ ./bootstrap
bash: ./bootstrap: No such file or directory
inerg@inerg-desktop:~/Desktop/imptalk-0.10.0/imptalkd/src$ clear

inerg@inerg-desktop:~/Desktop/imptalk-0.10.0/imptalkd/src$ cd /
inerg@inerg-desktop:/$ cd /home/inerg/Desktop/imptalk-0.10.0/
inerg@inerg-desktop:~/Desktop/imptalk-0.10.0$ ./bootstrap
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
./bootstrap: 7: aclocal: not found
inerg@inerg-desktop:~/Desktop/imptalk-0.10.0$ ./configure --enable-daemon --enable-web
configure: WARNING: unrecognized options: --enable-daemon, --enable-web
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 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... 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
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for X... libraries , headers
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libimptalk/Makefile
config.status: creating libimptalk/include/Makefile
config.status: creating libimptalk/include/imptalk/Makefile
config.status: creating libimptalk/src/Makefile
config.status: creating libimptalk/test/Makefile
config.status: creating libimpaudio/Makefile
config.status: creating libimpaudio/src/Makefile
config.status: creating libimpaudio/test/Makefile
config.status: creating libimpdb/Makefile
config.status: creating libimpdb/include/Makefile
config.status: creating libimpdb/include/ImpDB/Makefile
config.status: creating libimpdb/src/Makefile
config.status: creating libimpdb/test/Makefile
config.status: creating shared/Makefile
config.status: creating imptalkd/Makefile
config.status: creating imptalkd/src/Makefile
config.status: creating imptalkd/test/Makefile
config.status: creating imptalk/Makefile
config.status: creating imptalk/src/Makefile
config.status: creating imptalk/test/Makefile
config.status: creating build/Makefile
config.status: creating build/linux/Makefile
config.status: creating build/macosx/Makefile
config.status: creating build/win32/Makefile
config.status: creating docs/Makefile
config.status: creating docs/html/Makefile
config.status: creating docs/html/figures/Makefile
config.status: creating debian/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-daemon, --enable-web

------------------------------------------------------------------------
imptalk 0.10.0: Configuration Okay.

General configuration:

Build as debug: ............ no
Build tests: ............... no
Build daemon: .............. yes
Build web: ................. yes

Building on Linux:

Type 'make' and 'make install' to install.

Optionally, type 'make check' to run tests if enabled.

Building on MacOS X:

Type 'make' to build.

Next, type 'make dmg' to build distributable dmg file.

Optionally, type 'make check' to run tests if enabled.
------------------------------------------------------------------------

inerg@inerg-desktop:~/Desktop/imptalk-0.10.0$ make
make all-recursive
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0'
Making all in libimptalk
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
Making all in src
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
Making all in include
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
Making all in imptalk
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
Making all in test
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
Making all in libimpaudio
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
Making all in src
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
Making all in test
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
Making all in libimpdb
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
Making all in src
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
Making all in include
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
Making all in ImpDB
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
Making all in test
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
Making all in shared
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
Making all in imptalkd
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd'
Making all in src
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd/src'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -lpthread -lsqlite3 `python-config --libs` -l`python ../../imptalkd/src/find_libboost_python.py` -o imptalkd imptalkd-main.o imptalkd-Authorizor.o imptalkd-ConfigFile.o imptalkd-EventQueue.o imptalkd-IdentificationGenerator.o imptalkd-Processor.o imptalkd-Proxy.o imptalkd-ProxyInstructor.o imptalkd-Router.o imptalkd-Rules.o imptalkd-Screencast.o imptalkd-SelectorInterface.o imptalkd-ThreadPoolSync.o imptalkd-Whiteboard.o imptalkd-WorkerThread.o imptalkd-WorkerThreadBase.o imptalkd-Selector_linux.o imptalkd-SelectorInstructor_linux.o imptalkd-WebInterface.o imptalkd-Status.o ../../libimptalk/src/libimptalk.a ../../libimpdb/src/libimpdb.a
Traceback (most recent call last):
File "../../imptalkd/src/find_libboost_python.py", line 16, in <module>
sys.stdout.write(find_file('libboost_python-*1_??.a',paths).next().split("/")[-1][3:-2] + " ")
StopIteration
libtool: link: g++ -o imptalkd imptalkd-main.o imptalkd-Authorizor.o imptalkd-ConfigFile.o imptalkd-EventQueue.o imptalkd-IdentificationGenerator.o imptalkd-Processor.o imptalkd-Proxy.o imptalkd-ProxyInstructor.o imptalkd-Router.o imptalkd-Rules.o imptalkd-Screencast.o imptalkd-SelectorInterface.o imptalkd-ThreadPoolSync.o imptalkd-Whiteboard.o imptalkd-WorkerThread.o imptalkd-WorkerThreadBase.o imptalkd-Selector_linux.o imptalkd-SelectorInstructor_linux.o imptalkd-WebInterface.o imptalkd-Status.o /usr/lib/libsqlite3.so -lpthread -ldl -lutil -lm -lpython2.6 -l ../../libimptalk/src/libimptalk.a ../../libimpdb/src/libimpdb.a
/usr/bin/ld: cannot find -l../../libimptalk/src/libimptalk.a
collect2: ld returned 1 exit status
make[3]: *** [imptalkd] Error 1
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0'
make: *** [all] Error 2
inerg@inerg-desktop:~/Desktop/imptalk-0.10.0$ sudo make install
[sudo] password for inerg:
Making install in libimptalk
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
Making install in src
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/src'
Making install in include
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
Making install in imptalk
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include/imptalk'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/include'
Making install in test
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk/test'
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimptalk'
Making install in libimpaudio
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
Making install in src
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/src'
Making install in test
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio/test'
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpaudio'
Making install in libimpdb
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
Making install in src
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/src'
Making install in include
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
Making install in ImpDB
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include/ImpDB'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[4]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/include'
Making install in test
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb/test'
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[3]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/libimpdb'
Making install in shared
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/shared'
Making install in imptalkd
make[1]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd'
Making install in src
make[2]: Entering directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd/src'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -lpthread -lsqlite3 `python-config --libs` -l`python ../../imptalkd/src/find_libboost_python.py` -o imptalkd imptalkd-main.o imptalkd-Authorizor.o imptalkd-ConfigFile.o imptalkd-EventQueue.o imptalkd-IdentificationGenerator.o imptalkd-Processor.o imptalkd-Proxy.o imptalkd-ProxyInstructor.o imptalkd-Router.o imptalkd-Rules.o imptalkd-Screencast.o imptalkd-SelectorInterface.o imptalkd-ThreadPoolSync.o imptalkd-Whiteboard.o imptalkd-WorkerThread.o imptalkd-WorkerThreadBase.o imptalkd-Selector_linux.o imptalkd-SelectorInstructor_linux.o imptalkd-WebInterface.o imptalkd-Status.o ../../libimptalk/src/libimptalk.a ../../libimpdb/src/libimpdb.a
Traceback (most recent call last):
File "../../imptalkd/src/find_libboost_python.py", line 16, in <module>
sys.stdout.write(find_file('libboost_python-*1_??.a',paths).next().split("/")[-1][3:-2] + " ")
StopIteration
libtool: link: g++ -o imptalkd imptalkd-main.o imptalkd-Authorizor.o imptalkd-ConfigFile.o imptalkd-EventQueue.o imptalkd-IdentificationGenerator.o imptalkd-Processor.o imptalkd-Proxy.o imptalkd-ProxyInstructor.o imptalkd-Router.o imptalkd-Rules.o imptalkd-Screencast.o imptalkd-SelectorInterface.o imptalkd-ThreadPoolSync.o imptalkd-Whiteboard.o imptalkd-WorkerThread.o imptalkd-WorkerThreadBase.o imptalkd-Selector_linux.o imptalkd-SelectorInstructor_linux.o imptalkd-WebInterface.o imptalkd-Status.o /usr/lib/libsqlite3.so -lpthread -ldl -lutil -lm -lpython2.6 -l ../../libimptalk/src/libimptalk.a ../../libimpdb/src/libimpdb.a
/usr/bin/ld: cannot find -l../../libimptalk/src/libimptalk.a
collect2: ld returned 1 exit status
make[2]: *** [imptalkd] Error 1
make[2]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/inerg/Desktop/imptalk-0.10.0/imptalkd'
make: *** [install-recursive] Error 1
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Re: I need help

Postby James » Mon Feb 15, 2010 7:30 pm

Looks like you are missing the boost development libraries. Install them with sudo apt-get install libboost1.40-dev and you should be good to go.

EDIT: Ignore the above, I was wrong. I installed Ubuntu 9.10 inside of a virtual machine to double check and I noticed the libboost_python libraries have a different naming convention than they did in 9.04. Here's a temporary work around:

1. Open find_libboost_python.py in the imptalkd/src directory with a text editor, like gedit.
2. Delete everything in the file.
3. Add the following text to the top of the file: print("boost_python")
4. Save.
5. Run 'make' like you did before.

Please let me know if you still are having problems after trying this.
James
Site Admin
 
Posts: 27
Joined: Fri Aug 29, 2008 8:41 pm

Re: I need help

Postby inerg » Mon Feb 15, 2010 8:53 pm

Ok so I did the changes you said to make and it built perfectly as far as im concerned although now a new issue has arised. When I try and run it I get the normal stuff showing your settings but at the end it gets aborted due to this error. I'm assuming this is a similar problem to what I was having with the windows server version because when I tried it on two different computers one being windows XP and another being windows 7 with python installed it didnt work on either it just got aborted for unknown reasons.

terminate called after throwing an instance of 'std::invalid_argument'
what(): /usr/share/imptalkd/scripts/run.py : no such file
Aborted
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Re: I need help

Postby James » Mon Feb 15, 2010 11:43 pm

We'll get this working yet. ;)

I don't want to speculate too much on why the Windows version isn't working but it might be because you installed Python2.6 or Python3.0 instead of Python2.5. See this thread.

You are almost there! Run sudo make install from the root directory of the source tree (where you ran ./configure). I made a mistake in recommending Option 1 at the top of the thread. Option 1 won't work with --enable-web. Option 2 will install the scripts that are missing into the proper path.

I committed a fix that will hopefully explain the problem a little better in future versions.
James
Site Admin
 
Posts: 27
Joined: Fri Aug 29, 2008 8:41 pm

Re: I need help

Postby inerg » Tue Feb 16, 2010 5:32 pm

Awesome you fixed two problems in one. Now I just have to test it with someone outside my LAN network to be 100% sure it works. Also is there any way to add limits to what people can do who aren't in a specific list. Currently what I would like to do is have a couple of ranks I guess you could call it.

Edit:
Ok so Im figuring that I can do the ranks inside the database file although I cant seem to find and Im also unsure of how to make the Imptalk server accessible out side of my LAN network Im assuming I have to do something with my router although I am unsure of what to do.
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Re: I need help

Postby James » Wed Feb 17, 2010 8:59 pm

I'm not sure what you mean by "database file" but the easiest way to manage users and groups of users is using the web interface. Start the server and go to 127.0.0.1:7251 (provided you didn't change the port) using your web browser to access the web interface.

Port forwarding is going to be required if you're behind a router. How to setup port forwarding can differ greatly depending on the type of router you are using. Usually you login to your router and configure it using your web browser. The exact address can differ from router to router. 192.168.1.1 is a common address for Linksys routers.

By default, the ports you want to forward are 7250 for TCP and UDP. To find the address you want to forward the ports to, run ifconfig from the command line and look for your current address. Usually it'll be labeled next to eth0 for a hard line connection.

I'm sorry my explanation is a little vague. If you need further help with port forwarding, please post your router's model number and I'll hunt down more specific details.

On a side note, I would like to add that even though Imptalk supports peer-to-peer communication, not all routers do. Clients who fail to establish a peer-to-peer connection will automatically fall back to a client-server connection.
James
Site Admin
 
Posts: 27
Joined: Fri Aug 29, 2008 8:41 pm

Re: I need help

Postby inerg » Wed Feb 17, 2010 11:43 pm

Port forewarding isnt an issue for me I know how to do that. The issue was figuring out what Ip to give so that people could join. Now that I know what to do I should be able to set it up completely. If I run into issues or if it works Ill post here.
inerg
 
Posts: 7
Joined: Thu Feb 11, 2010 6:01 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron