aMSN Forums
December 12, 2018, 05:50:34 am *
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: AMSN on solaris 10 howto  (Read 21987 times)
dmarkey
Newbie

Offline Offline

Posts: 1


View Profile
« on: March 03, 2007, 08:00:04 pm »

This build was on solaris 10 SPARC, x86/x86-64 is untested but should work.

Firstly make sure you have the Tcl and Tk packages from www.blastwave.org and also the tcltls package. (use pkg-get)

my path was set to /usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin

download 0.96:

wget http://prdownloads.sourceforge.net/amsn/amsn-0.96.tar.bz2

uncompress/untar the file:

bunzip2 amsn-0.96.tar.bz2
tar -xvf amsn-0.96.tar
cd amsn-0.96


run the configure script:

./configure --with-tcl=/opt/csw/lib --with-tk=/opt/csw/lib

and run the make

gmake

and hope you dont get any errors!
if you dont you should be able to start amsn by running

./amsn


This method works for the SVN snapshot as well as of 03/03/07.

reply with any questions and i will help if i can.


BUG: amsn doesnt seem to be able to come up in the system tray. not a show stopper though
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: March 03, 2007, 09:15:24 pm »

thanks for this useful howto!
Logged

KaKaRoTo
alanro
Newbie

Offline Offline

Posts: 1


View Profile WWW
« Reply #2 on: June 01, 2007, 02:16:49 pm »

Great howto, it is useful to me, work fine. Smiley Thanks.
Logged

eenright
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #3 on: October 07, 2007, 12:55:48 am »

System tray support is unavailable on Solaris 10 because it only seems to build for Linux (it lives in utils/linux/traydock)

Hacking the configure script to set the OS type to Linux when uname reports SunOS and some minor patching of libtray.c to include Xlib.h prior to the other X libraries is about all it takes.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #4 on: October 07, 2007, 06:00:05 am »

SVN version fixes this in both the makefile and the Tcl code.
Logged

KaKaRoTo
berries
Newbie

Offline Offline

Posts: 1


View Profile
« Reply #5 on: August 15, 2008, 08:36:21 am »

Starting with version 0.97 (and .1, and .2) amsn does not compile on Solaris (10) anymore.

After enabling the verbose flag in Compile.mk this output shows the issue:

gcc -g -O2 -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=
64 -I/usr/local/include -I/opt/csw/include -I. -I./utils/linux/capture -I./utils
/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./
utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPA
CKAGE="amsn" -DVERSION="0.97.2-1" -DLIBDIR="/opt/amsn-0.97.2" -fPIC -c -o utils/
linux/capture/capture.o utils/linux/capture/capture.c
In file included from utils/linux/capture/capture.c:1:
utils/linux/capture/capture.h:36:31: linux/videodev.h: No such file or directory
gmake: *** [utils/linux/capture/capture.o] Error 1


Interesting observations that might be relevant (or not) are:
o the Makefile shows FOUND_OS as linux, not solaris
o this seems to happen in configure (before this part, FOUND_OS is still set to solaris)

#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
 FOUND_OS=solaris
else
  FOUND_OS=linux
fi


I'm interested to hear your pointers, suggestions etc etc...

Berrie
Logged
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!