aMSN Forums
February 11, 2012, 08:37:20 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Unable to lunch amsn on obsd  (Read 7073 times)
brati
Newbie

Offline Offline

Posts: 3


View Profile
« on: March 15, 2007, 11:34:47 pm »

Hi all !

I'm using openbsd 4.0 and the latest tarball amsn-0.96.tar.bz2. I have tcl and tk installed. I have done :

- cp /usr/local/bin/shtcl8.4 /usr/local/bin/shtcl in order to avoid pb you have encounterd when you start ./confiugre . I obtain this :

-----------------------------------------------------------------------------------------------
checking for prefix by checking for wish... 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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... database too small: /var/db/locate.database
using tcl library in /usr/local/lib/tcl8.4
checking tk build dir... database too small: /var/db/locate.database
using tk library in /usr/local/lib/tk8.4
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... 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 png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... no
configure: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: png.h: proceeding with the compiler's result
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... no
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jpeglib.h: proceeding with the compiler's result
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... no
configure: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jerror.h: proceeding with the compiler's result
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... no
checking for strcasestr... yes
checking for memmem... no
checking for dlopen... yes
checking for pthread_create in -lpthread... yes
checking if mmx should be used... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h
config.status: utils/linux/capture/config.h is unchanged

compile time options summary
============================

X11 : yes
Tcl : 8.4
TK : 8.4
DEBUG : no
STATIC : no
-----------------------------------------------------------------------------------------------

- gmake --> I obtain this :


-----------------------------------------------------------------------------------------------
[...]
CXX utils/TkCximage/src/CxImage/ximath.cpp.o
g++: -lm: linker input file unused because linking not done
CXX utils/TkCximage/src/CxImage/xmemfile.cpp.o
g++: -lm: linker input file unused because linking not done
AR utils/TkCximage/src/CxImage/libCxImage.a
ar: creating utils/TkCximage/src/CxImage/libCxImage.a
LDX utils/TkCximage/src/TkCximage.cpp.so
cp utils/TkCximage/src/TkCximage.cpp.so utils/TkCximage/TkCximage.so
CC utils/webcamsn/src/webcamsn.o
gcc: -lm: linker input file unused because linking not done
[...]
CC utils/webcamsn/src/vlc_encode.o
gcc: -lm: linker input file unused because linking not done
AR utils/webcamsn/src/libmimic.a
ar: creating utils/webcamsn/src/libmimic.a
LD utils/webcamsn/src/webcamsn.so
cp utils/webcamsn/src/webcamsn.so utils/webcamsn/webcamsn.so

-----------------------------------------------------------------------------------------------


- gmake install --> I obtain this :

-----------------------------------------------------------------------------------------------
[...]
rm -Rf /usr/local/share/amsn
mkdir --parents /usr/local/share/amsn
mkdir: unknown option -- -
usage: mkdir [-p] [-m mode] dirname ...
gmake: *** [install] Error 1
-----------------------------------------------------------------------------------------------

It's impossible to launch this application after ./configure or ./configure + gmake or ./configure + gmake + gmake install.
ksh: amsn: No such file or directory


I don't understand why amsn doesn't start. (amsn : -rwxr-xr--x)

thanks for help
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #1 on: March 16, 2007, 07:58:02 am »

seems it compiled correctly so far, so why don't you just try ./amsn and run it directly from the source directory, that's how most of us do it.. if you want to install it, read the post on the port to bsd systems, the --parents option doesn't exist on bsd, so use the alternative.. or copy the whole directory to /usr/local/share/amsn and create a symlink from /usr/local/share/amsn/amsn to /usr/local/bin/amsn
Logged

KaKaRoTo
brati
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #2 on: March 21, 2007, 01:11:01 am »

When I try to run amsn by the cmd : ./amsn (in the good folder of course), I obtain the same result "ksh: amsn: No such file or directory"
( I have forgotten to say in the previous post that when I was trying to run amsn, I was in the good folder and it wasn't necessary to add "./" in front of "amsn").

  I don't understand why it's impossible to lunch amsn on my system (OpenBSD).

Thanks for help.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #3 on: March 21, 2007, 02:51:56 am »

try instead from the amsn's directory :
Code:
wish amsn
Logged

KaKaRoTo
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!