aMSN Forums
February 10, 2012, 10:42:48 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: "You can't load TkCximage, this is needed to run aMSN..  (Read 8180 times)
rdv.chio
Newbie

Offline Offline

Posts: 3


View Profile
« on: February 23, 2007, 06:24:52 pm »

#  aMSN version : 0.96
# Tcl and Tk version : 8.4
# Kernel version : SunOS 5.8

Good day,
I,ve been trying to install aMSN-o.96 on a Solaris 8 machine I installed the tcl8.4.14 and the tk8.4.14 in my
home file (using in both ./configure --prefix /home/rdominguez/bin --exec-prefix
/home/rdominguez/bin)...Using the same command for amsn I configured it...when i
come to make it sends this error:
bash-2.03$ make
make: Nothing to be done for `build'.
bash-2.03$ make install
rm -Rf /home/rdominguez/bin/share/amsn
mkdir --parents /home/rdominguez/bin/share/amsn
mkdir: illegal option -- -
mkdir: illegal option -- a
mkdir: illegal option -- r
mkdir: illegal option -- e
mkdir: illegal option -- n
mkdir: illegal option -- t
mkdir: illegal option -- s
mkdir: usage: mkdir [-m mode] [-p] dirname ...
make: *** [install] Error 2
I changed the wish directory in the amsn file from
#!/bin/bash
# \
exec wish $0
to
#!../wish8.4
and if it type bash-2.03$ wish8.4 amsn it sends this error "You can't load
TkCximage, this is needed to run aMSN.Please compile amsn first, instructions on
how to compile are located in the file INSTALL"

Please, help

config.log file
*************************************
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix /home/rdominguez/bin --exec-prefix /home/rdominguez/bin

## --------- ##
## Platform. ##
## --------- ##

hostname = palenque
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-28

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = palenque
Release = 5.8
KernelID = Generic_117350-28
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /opt/SUNWspro/bin
PATH: /opt/s1studio/ee/bin
PATH: /usr/dt/bin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /etc
PATH: .
PATH: /usr/local/bin
PATH: /usr/openwin/bin
PATH: /usr/local/bin
PATH: /usr/ccs/bin
PATH: /usr/local/BerkeleyDB.4.1/bin
PATH: .
PATH: /usr/local/bin/gams
PATH: /home/delfinog/bin
PATH: /usr/local/mysql/bin
PATH: /usr/local/j2sdk/bin
PATH: /home/bioinfo/blast-2.2.13/bin
PATH: /home/bioinfo/bin
PATH: /home/bioinfo/share/RNAz/models
PATH: /home/rdominguez/materias/seis/funcional/cluster-1.31/X11


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1396: checking if amsn will build on `uname -s`
configure:1398: result: maybe
configure:1542: checking for gcc
configure:1558: found /usr/local/bin/gcc
configure:1568: result: gcc
configure:1812: checking for C compiler version
configure:1815: gcc --version </dev/null >&5
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1818: $? = 0
configure:1820: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3
configure:1823: $? = 0
configure:1825: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1828: $? = 1
configure:1851: checking for C compiler default output file name
configure:1854: gcc    conftest.c  >&5
configure:1857: $? = 0
configure:1903: result: a.out
configure:1908: checking whether the C compiler works
configure:1914: ./a.out
configure:1917: $? = 0
configure:1934: result: yes
configure:1941: checking whether we are cross compiling
configure:1943: result: no
configure:1946: checking for suffix of executables
configure:1948: gcc -o conftest    conftest.c  >&5
configure:1951: $? = 0
configure:1976: result:
configure:1982: checking for suffix of object files
configure:2003: gcc -c   conftest.c >&5
configure:2006: $? = 0
configure:2028: result: o
configure:2032: checking whether we are using the GNU C compiler
configure:2056: gcc -c   conftest.c >&5
configure:2062: $? = 0
configure:2066: test -z
          || test ! -s conftest.err
configure:2069: $? = 0
configure:2072: test -s conftest.o
configure:2075: $? = 0
configure:2088: result: yes
configure:2094: checking whether gcc accepts -g
configure:2115: gcc -c -g  conftest.c >&5
configure:2121: $? = 0
configure:2125: test -z
          || test ! -s conftest.err
configure:2128: $? = 0
configure:2131: test -s conftest.o
configure:2134: $? = 0
configure:2145: result: yes
configure:2162: checking for gcc option to accept ANSI C
configure:2232: gcc  -c -g -O2  conftest.c >&5
configure:2238: $? = 0
configure:2242: test -z
          || test ! -s conftest.err
configure:2245: $? = 0
configure:2248: test -s conftest.o
configure:2251: $? = 0
configure:2269: result: none needed
configure:2287: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2293: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2486: checking for g++
configure:2502: found /usr/local/bin/g++
configure:2512: result: g++
configure:2528: checking for C++ compiler version
configure:2531: g++ --version </dev/null >&5
g++ (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2534: $? = 0
configure:2536: g++ -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3
configure:2539: $? = 0
configure:2541: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:2544: $? = 1
configure:2547: checking whether we are using the GNU C++ compiler
configure:2571: g++ -c   conftest.cc >&5
configure:2577: $? = 0
configure:2581: test -z
          || test ! -s conftest.err
configure:2584: $? = 0
configure:2587: test -s conftest.o
configure:2590: $? = 0
configure:2603: result: yes
configure:2609: checking whether g++ accepts -g
configure:2630: g++ -c -g  conftest.cc >&5
configure:2636: $? = 0
configure:2640: test -z
          || test ! -s conftest.err
configure:2643: $? = 0
configure:2646: test -s conftest.o
configure:2649: $? = 0
configure:2660: result: yes
configure:2702: g++ -c -g -O2  conftest.cc >&5
configure:2708: $? = 0
configure:2712: test -z
          || test ! -s conftest.err
configure:2715: $? = 0
configure:2718: test -s conftest.o
configure:2721: $? = 0
configure:2747: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:13: error: `exit' undeclared (first use this function)
conftest.cc:13: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:2753: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:2702: g++ -c -g -O2  conftest.cc >&5
configure:2708: $? = 0
configure:2712: test -z
          || test ! -s conftest.err
configure:2715: $? = 0
configure:2718: test -s conftest.o
configure:2721: $? = 0
configure:2747: g++ -c -g -O2  conftest.cc >&5
configure:2753: $? = 0
configure:2757: test -z
          || test ! -s conftest.err
configure:2760: $? = 0
configure:2763: test -s conftest.o
configure:2766: $? = 0
configure:2817: checking tcl build dir
configure:2889: result: using tcl library in /usr/local/lib
configure:2961: checking tk build dir
configure:3039: result: using tk library in /usr/local/lib
configure:3098: checking for main in -lstdc++
configure:3122: gcc -o conftest -g -O2   conftest.c -lstdc++   >&5
configure:3128: $? = 0
configure:3132: test -z
          || test ! -s conftest.err
configure:3135: $? = 0
configure:3138: test -s conftest
configure:3141: $? = 0
configure:3154: result: yes
configure:3178: checking how to run the C preprocessor
configure:3213: gcc -E  conftest.c
configure:3219: $? = 0
configure:3251: gcc -E  conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3257: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3296: result: gcc -E
configure:3320: gcc -E  conftest.c
configure:3326: $? = 0
configure:3358: gcc -E  conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3364: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3408: checking for X
configure:3638: result: libraries /usr/openwin/lib, headers /usr/openwin/include
configure:3662: checking whether -R must be followed by a space
configure:3681: gcc -o conftest -g -O2   conftest.c  -R/usr/openwin/lib >&5
configure:3687: $? = 0
configure:3691: test -z
          || test ! -s conftest.err
configure:3694: $? = 0
configure:3697: test -s conftest
configure:3700: $? = 0
configure:3712: result: no
configure:3810: gcc -o conftest -g -O2   conftest.c   -L/usr/openwin/lib -R/usr/openwin/lib -lX11 >&5
configure:3816: $? = 0
configure:3820: test -z
          || test ! -s conftest.err
configure:3823: $? = 0
configure:3826: test -s conftest
configure:3829: $? = 0
configure:3987: checking for gethostbyname
configure:4044: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
gethostbyname                       /var/tmp//ccs77Oui.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:4050: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gethostbyname innocuous_gethostbyname
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gethostbyname (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef gethostbyname
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gethostbyname ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
| choke me
| #else
| char (*f) () = gethostbyname;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != gethostbyname;
|   ;
|   return 0;
| }
configure:4075: result: no
configure:4079: checking for gethostbyname in -lnsl
configure:4109: gcc -o conftest -g -O2   conftest.c -lnsl   >&5
configure:4115: $? = 0
configure:4119: test -z
          || test ! -s conftest.err
configure:4122: $? = 0
configure:4125: test -s conftest
configure:4128: $? = 0
configure:4141: result: yes
configure:4226: checking for connect
configure:4283: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
connect                             /var/tmp//ccI2VDfP.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:4289: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| /* Define connect to an innocuous variant, in case <limits.h> declares connect.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define connect innocuous_connect
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char connect (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef connect
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char connect ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_connect) || defined (__stub___connect)
| choke me
| #else
| char (*f) () = connect;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != connect;
|   ;
|   return 0;
| }
configure:4314: result: no
configure:4318: checking for connect in -lsocket
configure:4348: gcc -o conftest -g -O2   conftest.c -lsocket  -lnsl  >&5
configure:4354: $? = 0
configure:4358: test -z
          || test ! -s conftest.err
configure:4361: $? = 0
configure:4364: test -s conftest
configure:4367: $? = 0
configure:4380: result: yes
configure:4389: checking for remove
configure:4446: gcc -o conftest -g -O2   conftest.c  >&5
configure:4452: $? = 0
configure:4456: test -z
          || test ! -s conftest.err
configure:4459: $? = 0
configure:4462: test -s conftest
configure:4465: $? = 0
configure:4477: result: yes
configure:4552: checking for shmat
configure:4609: gcc -o conftest -g -O2   conftest.c  >&5
configure:4615: $? = 0
configure:4619: test -z
          || test ! -s conftest.err
configure:4622: $? = 0
configure:4625: test -s conftest
configure:4628: $? = 0
configure:4640: result: yes
configure:4724: checking for IceConnectionNumber in -lICE
configure:4754: gcc -o conftest -g -O2   -L/usr/openwin/lib conftest.c -lICE -lsocket  -lnsl  >&5
configure:4760: $? = 0
configure:4764: test -z
          || test ! -s conftest.err
configure:4767: $? = 0
configure:4770: test -s conftest
configure:4773: $? = 0
configure:4786: result: yes
configure:4808: checking for egrep
configure:4818: result: egrep
configure:4823: checking for ANSI C header files
configure:4848: gcc -c -g -O2  conftest.c >&5
configure:4854: $? = 0
configure:4858: test -z
          || test ! -s conftest.err
configure:4861: $? = 0
configure:4864: test -s conftest.o
configure:4867: $? = 0
configure:4953: gcc -o conftest -g -O2   conftest.c  >&5
configure:4956: $? = 0
configure:4958: ./conftest
configure:4961: $? = 0
configure:4976: result: yes
configure:5000: checking for sys/types.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for sys/stat.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for stdlib.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for string.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for memory.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for strings.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for inttypes.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5000: checking for stdint.h
configure:5016: gcc -c -g -O2  conftest.c >&5
conftest.c:55:20: stdint.h: No such file or directory
configure:5022: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:5046: result: no
configure:5000: checking for unistd.h
configure:5016: gcc -c -g -O2  conftest.c >&5
configure:5022: $? = 0
configure:5026: test -z
          || test ! -s conftest.err
configure:5029: $? = 0
configure:5032: test -s conftest.o
configure:5035: $? = 0
configure:5046: result: yes
configure:5058: checking for png_read_info in -lpng
configure:5088: gcc -o conftest -g -O2   conftest.c -lpng -lz -lm  >&5
configure:5094: $? = 0
configure:5098: test -z
          || test ! -s conftest.err
configure:5101: $? = 0
configure:5104: test -s conftest
configure:5107: $? = 0
configure:5120: result: yes
configure:5133: checking png.h usability
configure:5145: gcc -c -g -O2  conftest.c >&5
configure:5151: $? = 0
configure:5155: test -z
          || test ! -s conftest.err
configure:5158: $? = 0
configure:5161: test -s conftest.o
configure:5164: $? = 0
configure:5174: result: yes
configure:5178: checking png.h presence
configure:5188: gcc -E  conftest.c
configure:5194: $? = 0
configure:5214: result: yes
configure:5249: checking for png.h
configure:5256: result: yes
configure:5277: checking for jpeg_CreateDecompress in -ljpeg
configure:5307: gcc -o conftest -g -O2   conftest.c -ljpeg   >&5
configure:5313: $? = 0
configure:5317: test -z
          || test ! -s conftest.err
configure:5320: $? = 0
configure:5323: test -s conftest
configure:5326: $? = 0
configure:5339: result: yes
configure:5352: checking jpeglib.h usability
configure:5364: gcc -c -g -O2  conftest.c >&5
configure:5370: $? = 0
configure:5374: test -z
          || test ! -s conftest.err
configure:5377: $? = 0
configure:5380: test -s conftest.o
configure:5383: $? = 0
configure:5393: result: yes
configure:5397: checking jpeglib.h presence
configure:5407: gcc -E  conftest.c
configure:5413: $? = 0
configure:5433: result: yes
configure:5468: checking for jpeglib.h
configure:5475: result: yes
configure:5490: checking jerror.h usability
configure:5502: gcc -c -g -O2  conftest.c >&5
configure:5508: $? = 0
configure:5512: test -z
          || test ! -s conftest.err
configure:5515: $? = 0
configure:5518: test -s conftest.o
configure:5521: $? = 0
configure:5531: result: yes
configure:5535: checking jerror.h presence
configure:5545: gcc -E  conftest.c
configure:5551: $? = 0
configure:5571: result: yes
configure:5606: checking for jerror.h
configure:5613: result: yes
configure:5651: checking for ftello
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
configure:5714: $? = 0
configure:5718: test -z
          || test ! -s conftest.err
configure:5721: $? = 0
configure:5724: test -s conftest
configure:5727: $? = 0
configure:5739: result: yes
configure:5651: checking for fseeko
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
configure:5714: $? = 0
configure:5718: test -z
          || test ! -s conftest.err
configure:5721: $? = 0
configure:5724: test -s conftest
configure:5727: $? = 0
configure:5739: result: yes
configure:5651: checking for getpt
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
getpt                               /var/tmp//ccuuJYi0.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:5714: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define getpt to an innocuous variant, in case <limits.h> declares getpt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define getpt innocuous_getpt
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char getpt (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getpt
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char getpt ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_getpt) || defined (__stub___getpt)
| choke me
| #else
| char (*f) () = getpt;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != getpt;
|   ;
|   return 0;
| }
configure:5739: result: no
configure:5651: checking for strcasestr
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
strcasestr                          /var/tmp//ccoEaR0J.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:5714: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define strcasestr to an innocuous variant, in case <limits.h> declares strcasestr.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strcasestr innocuous_strcasestr
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strcasestr (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strcasestr
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char strcasestr ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_strcasestr) || defined (__stub___strcasestr)
| choke me
| #else
| char (*f) () = strcasestr;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != strcasestr;
|   ;
|   return 0;
| }
configure:5739: result: no
configure:5651: checking for memmem
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
memmem                              /var/tmp//ccsmO8VB.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:5714: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define memmem to an innocuous variant, in case <limits.h> declares memmem.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define memmem innocuous_memmem
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char memmem (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef memmem
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char memmem ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_memmem) || defined (__stub___memmem)
| choke me
| #else
| char (*f) () = memmem;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != memmem;
|   ;
|   return 0;
| }
configure:5739: result: no
configure:5651: checking for dlopen
configure:5708: gcc -o conftest -g -O2   conftest.c  >&5
Undefined         first referenced
 symbol               in file
dlopen                              /var/tmp//ccEFZ1gm.o  (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:5714: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dlopen innocuous_dlopen
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dlopen (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef dlopen
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char dlopen ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_dlopen) || defined (__stub___dlopen)
| choke me
| #else
| char (*f) () = dlopen;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != dlopen;
|   ;
|   return 0;
| }
configure:5739: result: no
configure:5750: checking for pthread_create in -lpthread
configure:5780: gcc -o conftest -g -O2   conftest.c -lpthread   >&5
configure:5786: $? = 0
configure:5790: test -z
          || test ! -s conftest.err
configure:5793: $? = 0
configure:5796: test -s conftest
configure:5799: $? = 0
configure:5812: result: yes
configure:5895: checking if mmx should be used
configure:5910: result: no
configure:6010: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on palenque

config.status:675: creating Makefile
config.status:778: creating utils/linux/capture/config.h
config.status:882: utils/linux/capture/config.h is unchanged

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_connect=no
ac_cv_func_dlopen=no
ac_cv_func_fseeko=yes
ac_cv_func_ftello=yes
ac_cv_func_gethostbyname=no
ac_cv_func_getpt=no
ac_cv_func_memmem=no
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_func_strcasestr=no
ac_cv_have_x='have_x=yes       ac_x_includes=/usr/openwin/include ac_x_libraries=/usr/openwin/lib'
ac_cv_header_inttypes_h=yes
ac_cv_header_jerror_h=yes
ac_cv_header_jpeglib_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_png_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
ac_cv_lib_nsl_gethostbyname=yes
ac_cv_lib_png_png_read_info=yes
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_socket_connect=yes
ac_cv_lib_stdcpp_main=yes
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep=egrep

## ----------------- ##
## Output variables. ##
## ----------------- ##

APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='yes'
APPVERSION='0.96'
BUILD_DIR='/home/rdominguez/bin/amsn-0.96'
CC='gcc'
CFLAGS='-g -O2'
CONFIGURE_ARGS='--prefix /home/rdominguez/bin --exec-prefix /home/rdominguez/bin'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXX_LIB='-lstdc++'
DEBUG='no'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='egrep'
EXEEXT=''
FOUND_OS='unknown'
FOUND_X11='yes'
LDFLAGS=''
LDLIBS=''
LIBDIR='/home/rdominguez/bin/amsn-0.96'
LIBOBJS=''
LIBPTHREAD='-lpthread'
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
STATIC='no'
TCLSH='/usr/local/bin/tclsh'
TCL_INC_SPEC='-I/usr/local/include'
TCL_LIB_DIR='/usr/local/lib'
TCL_STUB_LIB_SPEC='-L/usr/local/lib -ltclstub8.4${TCL_DBGX}'
TK_INC_SPEC='-I/usr/local/include'
TK_LIB=''
TK_LIBS='-L/usr/local/lib -lX11 -ldl  -lsocket -lnsl -lm'
TK_LIB_DIR='/usr/local/lib'
TK_STUB_LIB_SPEC='-L/usr/local/lib -ltkstub8.4'
TK_VERSION='8.4'
TOP_DIR='/home/rdominguez/bin/amsn-0.96'
USE_MMX='no'
X_CFLAGS=' -I/usr/openwin/include'
X_EXTRA_LIBS='-lsocket  -lnsl'
X_LIBS=' -L/usr/openwin/lib -R/usr/openwin/lib  -lSM -lICE -lX11 -lsocket  -lnsl'
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_prefix_program=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='/home/rdominguez/bin'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/home/rdominguez/bin'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_FSEEKO 1
#define HAVE_FTELLO 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

Makefile
***************************************
prefix     := /home/rdominguez/bin
exec_prefix   := /home/rdominguez/bin
srcdir      := .
dstdir     := ${prefix}/share
slnkdir    := ${exec_prefix}/bin
VPATH      := $(srcdir)

STATIC      := no

doc_files   := docs INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help

FILES_TO_INSTALL := *.tcl hotmlog.htm amsn amsn-remote amsn-remote-CLI amsn.desktop langlist
FILES_TO_INSTALL += $(doc_files)
FILES_TO_INSTALL += icons lang skins utils/base64 utils/drawboard utils/framec utils/http2.4
FILES_TO_INSTALL += utils/pixmapscroll utils/pixmapmenu utils/contentmanager
FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/BWidget-1.7.0 utils/dpbrowser
FILES_TO_INSTALL += plugins
FILES_TO_INSTALL += utils/tclsoap1.6.7 utils/log utils/uri utils/tcldom utils/Tclxml utils/combobox

FILES_TO_EXCLUDE := lang/genpage.c lang/addkey.tcl lang/lang1.tmpl lang/lang2.tmpl lang/lang3.tmpl lang/langchk.sh lang/complete.pl lang/genlangfiles.c utils/webcamsn/webcamsn.tcl

capture_dir := $(srcdir)/utils/linux/capture
webcamsn_dir := $(srcdir)/utils/webcamsn
tkcximage_dir := $(srcdir)/utils/TkCximage
tray_dir := $(srcdir)/utils/linux/traydock
linflash_dir := $(srcdir)/utils/linux/linflash

# programs
CC      := gcc
CXX      := g++

ifeq ($(STATIC),yes)
CXX += -static-libgcc -L.
endif

# misc
PACKAGE      := amsn
BASEVERSION   := 0.96
ifeq (yes,yes)
RELEASEVERSION   := 1
else
RELEASEVERSION  := svn`which svnversion > /dev/null && svnversion`
endif
VERSION      := $(BASEVERSION)-$(RELEASEVERSION)

# for CFLAGS
#WARN_FLAGS   := -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
WARN_FLAGS   := -w
LFS_FLAGS   := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LIB_FLAGS   := -I. -I$(capture_dir) -I$(capture_dir)/libng -I$(capture_dir)/structs
LIB_FLAGS   += -I$(webcamsn_dir)/src -I$(tkcximage_dir)/src -I$(tkcximage_dir)/src/CxImage
LIBDIR      := /home/rdominguez/bin/amsn-0.96


# various libraries
THREAD_LIBS   := -lpthread


# Directories in which the Tcl core can be found
TCL_INC_SPEC    := -I/usr/local/include
TCL_STUB_LIB_SPEC := -L/usr/local/lib -ltclstub8.4${TCL_DBGX}

# Directories in which the Tk core can be found
TK_INC_SPEC    := -I/usr/local/include
TK_STUB_LIB_SPEC := -L/usr/local/lib -ltkstub8.4

# C Flags for X
X_CFLAGS :=  -I/usr/openwin/include

# stuff configure has found
FOUND_X11   := yes
FOUND_OS   := unknown
USE_MMX      := no

# build final cflags
CFLAGS   := -g -O2
ifeq (no,no)
CFLAGS   += -O2
else
CFLAGS   += -g3 -DDEBUG
endif
CFLAGS   += $(WARN_FLAGS)
CFLAGS   += $(LFS_FLAGS)
CFLAGS    += ${TCL_INC_SPEC}
CFLAGS    += ${TK_INC_SPEC}
CFLAGS    += ${X_CFLAGS}
CFLAGS   += $(LIB_FLAGS)
CFLAGS   += -DPACKAGE='"$(PACKAGE)"'
CFLAGS   += -DVERSION='"$(VERSION)"'
CFLAGS   += -DLIBDIR='"$(LIBDIR)"'
CXXFLAGS := $(CFLAGS)

# for gcc3
#CFLAGS   += -std-gnu99

# shared objects need -fPIC
CFLAGS   += -fPIC
CXXFLAGS += -fPIC

# libraries
LDLIBS  :=  -lpng -lz -lm -ljpeg
LDFLAGS :=
ifeq (no,no)
   ifneq (unknown,mac)
LDFLAGS += -s
   endif
endif
X_LIBS  :=  -L/usr/openwin/lib -R/usr/openwin/lib  -lSM -lICE -lX11 -lsocket  -lnsl
CXX_LIB := -lstdc++

LDFLAGS    += ${TCL_STUB_LIB_SPEC}
LDFLAGS    += ${TK_STUB_LIB_SPEC}

ifeq ($(FOUND_OS),linux)
FILES_TO_INSTALL += utils/webcamsn/webcamsn.so utils/webcamsn/pkgIndex.tcl utils/webcamsn/webcamsn.tcl utils/TkCximage/TkCximage.so utils/TkCximage/pkgIndex.tcl utils/linux/capture/capture.so utils/linux/capture/pkgIndex.tcl utils/linux/capture/test.tcl utils/linux/linflash/flash.so utils/linux/linflash/pkgIndex.tcl utils/linux/traydock/libtray.so  utils/linux/traydock/pkgIndex.tcl utils/linux/capture/libng/plugins/drv0-v4l2.so utils/linux/capture/libng/plugins/drv1-v4l.so
FILES_TO_EXCLUDE += AppMain.tcl utils/linux/capture/test.tcl
endif

CONFIGURE_ARGS := --prefix /home/rdominguez/bin --exec-prefix /home/rdominguez/bin

#########################################################
# targets

build: all

Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
   $(srcdir)/configure $(CONFIGURE_ARGS)

$(srcdir)/configure: $(srcdir)/configure.ac
   (cd $(srcdir); autoconf)

clean::
   find . -name \*~ -print | xargs rm -f
   find . -name \*.o -print | xargs rm -f
   find . -name \*.a -print | xargs rm -f
   find . -name \*.dep -print | xargs rm -f


distclean:: clean
   -rm -f Makefile Make.config
   -rm -f config.cache config.h config.log config.status


install:: $(FILES_TO_INSTALL)
   rm -Rf $(dstdir)/$(PACKAGE)
   mkdir --parents $(dstdir)/$(PACKAGE)
   mkdir -p $(slnkdir)
   @for p in $?; do \
         cp -Rf --parents $(srcdir)/$$p $(dstdir)/$(PACKAGE); \
      done
   find $(dstdir)/$(PACKAGE) -name CVS -print | xargs rm -Rf
   @for p in $(FILES_TO_EXCLUDE); do \
         rm -Rf $(dstdir)/$(PACKAGE)/$$p; \
      done

   ln -sf $(dstdir)/$(PACKAGE)/amsn $(slnkdir)/amsn
   ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(slnkdir)/amsn-remote
   ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(slnkdir)/amsn-remote-CLI

   chmod -R +rx $(dstdir)/$(PACKAGE)
   mkdir -p $(dstdir)/icons/hicolor
   cp -R $(srcdir)/icons/* $(dstdir)/icons/hicolor

   mkdir -p $(dstdir)/applications
   cp $(srcdir)/amsn.desktop $(dstdir)/applications

rpm-install:: $(FILES_TO_INSTALL)
   rm -Rf $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)
   mkdir --parents $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)
   @for p in $?; do \
         cp -Rf --parents $(srcdir)/$$p $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE); \
      done
   find $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE) -name '.svn' -print | xargs rm -Rf
   @for p in $(FILES_TO_EXCLUDE); do \
         rm -Rf $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)/$$p; \
      done
   mkdir --parents $(INSTALL_PREFIX)/$(slnkdir)

   ln -sf $(dstdir)/$(PACKAGE)/amsn $(INSTALL_PREFIX)/$(slnkdir)/amsn
   ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(INSTALL_PREFIX)/$(slnkdir)/amsn-remote
   ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(INSTALL_PREFIX)/$(slnkdir)/amsn-remote-CLI

rpm: all
   mkdir -p ./distrib

   rm -f THIS.TK.SPEC
   echo "%define _builddir `pwd`" > THIS.AMSN.SPEC
   echo "%define _rpmdir /tmp/RPMS" >> THIS.AMSN.SPEC
   echo "%define _prefix $(prefix)" >> THIS.AMSN.SPEC
   echo "%define _tmppath /tmp" >> THIS.AMSN.SPEC
   echo "%define _datadir $(dstdir)/$(PACKAGE)" >> THIS.AMSN.SPEC
   echo "%define _bindir $(slnkdir)" >> THIS.AMSN.SPEC
   echo "%define _doc_files $(doc_files)" >> THIS.AMSN.SPEC
   echo "%define _platform `uname -m`" >> THIS.AMSN.SPEC
   echo "%define _version $(BASEVERSION)" >> THIS.AMSN.SPEC
   echo "%define __release $(RELEASEVERSION)" >> THIS.AMSN.SPEC

   cat amsn.spec >> THIS.AMSN.SPEC
   mkdir -p /tmp/RPMS
   rpmbuild -bb THIS.AMSN.SPEC
   rm -rf ./distrib/RPMS
   mv /tmp/RPMS ./distrib
   rm -rf /tmp/RPMS THIS.AMSN.SPEC

deb: all
   mkdir -p ./distrib/DEB

   sed "s/#VERSION#/${VERSION}/" debian/changelog.in > debian/changelog
   fakeroot debian/rules clean
   fakeroot debian/rules binary VERSION=${VERSION}

   rm -f debian/changelog
   rm -rf debian/amsn

libstdc++.a :
   ln -s `g++ -print-file-name=libstdc++.a`


#########################################################
# include stuff

# subdirs

include $(tkcximage_dir)/Rules.mk
include $(tkcximage_dir)/src/Rules.mk
include $(tkcximage_dir)/src/CxImage/Rules.mk
include $(tkcximage_dir)/src/Rules.mk

include $(webcamsn_dir)/Rules.mk
include $(webcamsn_dir)/src/Rules.mk

ifeq ($(FOUND_OS),linux)
  include $(capture_dir)/Rules.mk
  include $(capture_dir)/libng/Rules.mk
  include $(capture_dir)/libng/plugins/Rules.mk

  ifeq ($(FOUND_X11),yes)
      ADDLIBS    += ${X_LIBS}
      include $(tray_dir)/Rules.mk
      include $(linflash_dir)/Rules.mk
  endif
endif


#########################################################
# some rules ...

include $(srcdir)/Compile.mk
Logged
Phil
Administrator
Super Power User
*****
Offline Offline

Posts: 653


View Profile
« Reply #1 on: February 23, 2007, 06:55:07 pm »

Please ensure you did a correct configure of aMSN using the good Tcl/Tk directories...
Do a make clean before the make
Don't try to install as it seems it doesn't work... (Or replace the mkdir --parents to its equivalent in Makfile.in BEFORE configuring)
Logged

Phil

AMsn is great, and it will be greater :wink:
rdv.chio
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #2 on: February 26, 2007, 07:22:41 pm »

Hi, thanks for the help  Smiley
I have not much acquaintance on Solaris...could you please explain me more?
Thank you
Logged
rdv.chio
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #3 on: March 12, 2007, 08:36:06 pm »

Hi there  :cry:

bash-2.03$ make install
rm -Rf /home/rdominguez/bin/share/amsn
mkdir --parents /home/rdominguez/bin/share/amsn
mkdir: illegal option -- -
mkdir: illegal option -- a
mkdir: illegal option -- r
mkdir: illegal option -- e
mkdir: illegal option -- n
mkdir: illegal option -- t
mkdir: illegal option -- s
mkdir: usage: mkdir [-m mode] [-p] dirname ...
make: *** [install] Error 2

I don't know how I must change in the Makefile.ini

        find $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE) -name '.svn' -print | xargs rm -Rf
        @for p in $(FILES_TO_EXCLUDE); do \
                        rm -Rf $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)/$$p; \
                done
        mkdir --parents $(INSTALL_PREFIX)/$(slnkdir)

        ln -sf $(dstdir)/$(PACKAGE)/amsn $(INSTALL_PREFIX)/$(slnkdir)/amsn
        ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(INSTALL_PREFIX)/$(slnkdir)/amsn-remote
        ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(INSTALL_PREFIX)/$(slnkdir)/amsn-remote-CLI

Please help  :?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #4 on: March 13, 2007, 02:42:58 am »

http://www.amsn-project.net/forums/viewtopic.php?t=2896
http://www.amsn-project.net/forums/viewtopic.php?t=877
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!