LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   how to install Amsn on Solaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-install-amsn-on-solaris-516001/)

LAN-Dominator.nl 01-03-2007 04:49 PM

how to install Amsn on Solaris
 
i need a MessengerClient and my classmate told me that Amsn works fine on Linux and Unix.

Now i don't know which version of the downloads is for Solaris and how to install it.

I downloaded the Archive-version, but the installation script makes me go crazy when they talk about the "tcl-dev and tk-dev packages" and "running the ./configure script".

Can anybody help me out... i'm just like a newbie again with Solaris...

Sorry if this thread already exists...

jlliagre 01-04-2007 01:44 AM

amsn is available on blastwave. You can also run gaim.

LAN-Dominator.nl 01-04-2007 01:51 AM

Ok thnx, i'll use Gaim!

(i didn't knew that you can use GAIM as a MSN-Client)

LAN-Dominator.nl 04-17-2007 11:48 AM

I now know how to install AMSN on Solaris:

(THREAD ON AMSN-FORUM, BY DMARKEY)

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/a...n-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

LAN-Dominator.nl 08-27-2007 03:36 PM

Code:

# ./amsn
./amsn: line 3: exec: wish: not found

Where do i find WISH

jlliagre 08-28-2007 02:03 AM

In /opt/csw/bin/wish assuming you have tk installed from Blastwave.

LAN-Dominator.nl 08-28-2007 05:39 AM

got this:

Code:

# cd amsn-0.97RC1
# PATH=$PATH:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin ./configure --with-tcl=/opt/csw/lib --with-tk=/opt/csw/lib
checking if amsn will build on `uname -s`... maybe
checking for prefix by checking for wish... /opt/csw/bin/wish
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... ./configure: line 2841: locate: command not found
using tcl library in /opt/csw/lib
checking tk build dir... using tk library in /opt/csw/lib
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... egrep
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... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... no
checking for strcasestr... no
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

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

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

# make
make: Fatal error in reader: Makefile, line 2: Unexpected end of line seen
#

what's wrong now?

jlliagre 08-28-2007 10:54 AM

Try using gmake instead of the standard Solaris make. Looks like the generated makefiles are using gnuisms.

LAN-Dominator.nl 08-28-2007 11:29 AM

i love you jlliagre!!! it works!!

LAN-Dominator.nl 08-28-2007 11:38 AM

I finally works!! thanks!! but this is my final question:

i would like to add a Launcher on my Desktop for aMSN, but the only possible way for me that is known is in the Termail with the code:

Code:

# PATH=$PATH:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin /export/home/dezeeuw/amsn-0.97RC1/amsn

LAN-Dominator.nl 08-28-2007 12:17 PM

new error:

Code:

bash-3.00$ PATH=$PATH:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin /export/home/dezeeuw/amsn-0.97RC1/amsn
Error in startup script: error copying "langlist" to "/export/home/dezeeuw/.amsn/langlist.xml": permission denied
    while executing
"file copy -force "langlist" "$filename""
    (procedure "::lang::LoadVersions" line 20)
    invoked from within
"::lang::LoadVersions    "
    (procedure "scan_languages" line 6)
    invoked from within
"scan_languages"
    invoked from within
"if { $initialize_amsn == 1 } {
        ###############################################################
        create_dir $HOME
        create_dir $HOME/plugins
        create_di..."
    (file "config.tcl" line 1528)
    invoked from within
"source config.tcl      "
    ("uplevel" body line 28)
    invoked from within
"uplevel \#0 {

        # amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
        source amsncore.tcl
        source audio.tc..."
    (procedure "reload_files" line 2)
    invoked from within
"reload_files"
    (file "/export/home/dezeeuw/amsn-0.97RC1/amsn" line 250)
bash-3.00$


alek66 08-28-2007 01:41 PM

blastwave only has the 0.94 ... I did pkg-get -U then pkg-get upgrade amsn and this came:
Quote:

bash-3.00$ sudo pkg-get upgrade amsn
WARNING: gpg not found
No worries... you already have version 0.94 of amsn
If you doubt this message, run 'pkg-get -U', then run
'pkg-get upgrade amsn'

jlliagre 08-28-2007 04:11 PM

Quote:

Originally Posted by LAN-Dominator.nl (Post 2873567)
new error:

Code:

bash-3.00$ PATH=$PATH:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin /export/home/dezeeuw/amsn-0.97RC1/amsn
Error in startup script: error copying "langlist" to "/export/home/dezeeuw/.amsn/langlist.xml": permission denied
...


My guess is you have run amsn whille logged as root but with the HOME variable still pointing to your personal home directory.

If that is the case, try reverting the amsn files ownership to yourself.
Code:

$ su
...
# chown -R dezeeuw /export/home/dezeeuw/.amsn


jlliagre 08-28-2007 04:14 PM

Quote:

Originally Posted by LAN-Dominator.nl (Post 2873524)
I finally works!! thanks!! but this is my final question:

Never write that, you can prove wrong the next posting ...
Quote:

i would like to add a Launcher on my Desktop for aMSN, but the only possible way for me that is known is in the Termail with the code:

Code:

# PATH=$PATH:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/opt/csw/gcc3/bin/:/usr/ccs/bin /export/home/dezeeuw/amsn-0.97RC1/amsn

Just create a shell script with these very same commands and run that script from the launcher.

jlliagre 08-28-2007 04:20 PM

Quote:

Originally Posted by LAN-Dominator.nl (Post 2873514)
i love you jlliagre!!!

:) ... beware your wife may read that message ;)

By the way, mine is sharing something with yours !


All times are GMT -5. The time now is 09:44 AM.