Re: Resin install

Actions

From Jun 8, 2009 4:09 AM

I'd suggest getting the binary dist
(http://caucho.com/download/resin-4.0.0.zip) and just unpacking it in
a directory. There is also a .deb too as you seem to be on debian
etch. Once you have unpacked it, run bin/resin.sh like the docs
suggest : http://code.google.com/p/subetha/wiki/InstallGuide#Startup

The extent of the install, is just unpacking the files and running the
main java class (through bin/resin.sh).

In my experience, very few java systems use make :(


On Mon, Jun 8, 2009 at 12:59 AM, Charles
Williams<c.williams@planet-ic.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey all,
>
> So. I decided to do a test install of subetha 2 today and did a jdk install then went to install
> resin and used the quick install method of: ./configure; make; make install.
>
> Now, the funny thing is that not 1 error is thrown the whole time until make install. unfortunately
> there is no jar file created during the make run. and so make install throws an error when
> attempting to move lib/*.jar.
>
> anyway, have been searching the resin forums and mailing list all morning and have found nothing.
> any ideas? what method did you use to install resin?
>
> root@etch:~/test/resin-4.0.0# make
> (cd modules/c/src; make)
> make[1]: Entering directory `/root/test/resin-4.0.0/modules/c/src'
> for dir in common resin_os  ; do (cd $dir; make); done
> make[2]: Entering directory `/root/test/resin-4.0.0/modules/c/src/common'
> gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT
> - -DHAS_JVMTI stream.c
> gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT
> - -DHAS_JVMTI config.c
> gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT
> - -DHAS_JVMTI memory.c
> /root/test/resin-4.0.0/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2
> - -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
> /root/test/resin-4.0.0/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2
> - -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
> /root/test/resin-4.0.0/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2
> - -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
> make[2]: Leaving directory `/root/test/resin-4.0.0/modules/c/src/common'
> make[2]: Entering directory `/root/test/resin-4.0.0/modules/c/src/resin_os'
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o boot.o boot.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o java.o java.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o jni_os.o jni_os.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o jni_jvmti.o jni_jvmti.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o jni_socket.o jni_socket.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o memory.o memory.c
> gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
> - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin\"
> - -I/usr/include -I/opt/jdk1.6.0_14/include -I/opt/jdk1.6.0_14/include/linux -I../common
> - -DCPU=\"i386\" -DOS=   -c -o std.o std.c
> gcc -shared -L/usr/lib -o libresin_os.so boot.o java.o jni_os.o jni_jvmti.o jni_socket.o memory.o
> std.o -lpthread -lc
> make[2]: Leaving directory `/root/test/resin-4.0.0/modules/c/src/resin_os'
> make[1]: Leaving directory `/root/test/resin-4.0.0/modules/c/src'
>
> root@etch:~/test/resin-4.0.0# make install
> make[1]: Entering directory `/root/test/resin-4.0.0'
> make[1]: Nothing to be done for `install-exec-am'.
> make[1]: Nothing to be done for `install-data-am'.
> make[1]: Leaving directory `/root/test/resin-4.0.0'
> if test /usr/local/resin != `pwd`; then \
>          mkdir -p /usr/local/resin/licenses; \
>          mkdir -p /usr/local/resin/lib; \
>          mkdir -p /usr/local/resin/libexec; \
>          cp lib/*.jar /usr/local/resin/lib; \
>          mkdir -p /usr/local/resin/bin; \
>          cp -u bin/* /usr/local/resin/bin; \
>        fi; \
>        if test /usr/local/resin != `pwd`; then \
>          mkdir -p /usr/local/resin/webapps; \
>          cp -ru webapps/* /usr/local/resin/webapps; \
>          mkdir -p /usr/local/resin/doc; \
>          cp -ru doc/* /usr/local/resin/doc; \
>        fi; \
>        if test /usr/local/resin/conf != `pwd`/conf; then \
>          mkdir -p /usr/local/resin/conf; \
>          cp -u conf/app-default.xml /usr/local/resin/conf/app-default.xml; \
>          cp -u conf/resin.xml /usr/local/resin/conf/resin.xml; \
>        fi; \
>        if test -n "/etc/init.d/resin"; then \
>          cp -u init.d/resin /etc/init.d/resin; \
>          chmod +x /etc/init.d/resin; \
>        fi; \
>        (cd modules/c/src; make install)
> cp: cannot stat `lib/*.jar': No such file or directory
> make[1]: Entering directory `/root/test/resin-4.0.0/modules/c/src'
> for dir in common resin_os  ; do (cd $dir; make install); done
> make[2]: Entering directory `/root/test/resin-4.0.0/modules/c/src/common'
> make[2]: Nothing to be done for `install'.
> make[2]: Leaving directory `/root/test/resin-4.0.0/modules/c/src/common'
> make[2]: Entering directory `/root/test/resin-4.0.0/modules/c/src/resin_os'
> mkdir -p /usr/local/resin/libexec
> cp libresin_os.so /usr/local/resin/libexec
> make[2]: Leaving directory `/root/test/resin-4.0.0/modules/c/src/resin_os'
> make[1]: Leaving directory `/root/test/resin-4.0.0/modules/c/src'
>
> - --
> - - --
> //
> // IT- & Software-Systemhaus, Internet Service und Web Agentur
> //
> // Charles Williams, Sys/Sec Administrator, R&D, Proj. Man.
> // PLANET IC GmbH, Haus 4, Hagenower Strasse 73, 19061 Schwerin
> // Registergericht Schwerin HRB 6762, Geschäftsführer Andreas Scher
> // Telefon 0385 30200 200, Telefax 0385 30200 190, Internet www.planet-ic.de
> //
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkosxOcACgkQ0RUDxJHrYt5cwQCguMxh7X1CtYacPNXeLINwMjqU
> jN0AoJp10qbODkXW7RJ+SmypRX5qlLjJ
> =STZz
> -----END PGP SIGNATURE-----
> _______________________________________________
> SubEtha Users mailing list
> users@subethamail.org
> http://www.subethamail.org/se/list/users
> http://www.subethamail.org/se/archive_msg.jsp?msgId=49522
>

Thread History