Anonymous | Login | Signup for a new account | 12-17-2024 11:59 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002473 | [Resin] | feature | always | 03-01-08 03:44 | 03-05-08 15:00 | ||||
Reporter | stbu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002473: configure --prefix and make install do not copy "php", "plugins" and "ext-webapp-lib" folder | ||||||||
Description |
When using "./configure --prefix /target/for/installation" the "make install" does not copy the folders "php", "plugins" and "ext-webapp-lib" into the target-folder as specified by --prefix. I've downloaded the resin-pro-3.1.5.tar.gz and extracted it to /home/user/Desktop/resin-pro-3.1.5 In this directory, I wanted to compile the JNI libraries and install it in /home/user/resin-pro-3.1.5 [user@linuxhost resin-pro-3.1.5]$ ./configure --prefix /home/user/resin-pro-3.1.5 ... [user@linuxhost resin-pro-3.1.5]$ make ... [user@linuxhost resin-pro-3.1.5]$ make install make[1]: Entering directory `/home/user/Desktop/resin-pro-3.1.5' make[1]: Nothing to be done for `install-exec-am'. make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5' (cd modules/c/src; make install) make[1]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src' for dir in common resin resinssl resin_os resin_os; do (cd $dir; make install); done make[2]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/common' make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/common' make[2]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin' mkdir /home/user/Desktop/resin-pro-3.1.5/libexec mkdir: cannot create directory `/home/user/Desktop/resin-pro-3.1.5/libexec': File exists make[2]: [install] Error 1 (ignored) cp libresin.so /home/user/Desktop/resin-pro-3.1.5/libexec make[2]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin' make[2]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resinssl' mkdir /home/user/Desktop/resin-pro-3.1.5/libexec mkdir: cannot create directory `/home/user/Desktop/resin-pro-3.1.5/libexec': File exists make[2]: [install] Error 1 (ignored) cp libresinssl.so /home/user/Desktop/resin-pro-3.1.5/libexec make[2]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resinssl' make[2]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin_os' mkdir /home/user/Desktop/resin-pro-3.1.5/libexec mkdir: cannot create directory `/home/user/Desktop/resin-pro-3.1.5/libexec': File exists make[2]: [install] Error 1 (ignored) cp libresin_os.so /home/user/Desktop/resin-pro-3.1.5/libexec make[2]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin_os' make[2]: Entering directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin_os' mkdir /home/user/Desktop/resin-pro-3.1.5/libexec mkdir: cannot create directory `/home/user/Desktop/resin-pro-3.1.5/libexec': File exists make[2]: [install] Error 1 (ignored) cp libresin_os.so /home/user/Desktop/resin-pro-3.1.5/libexec make[2]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src/resin_os' make[1]: Leaving directory `/home/user/Desktop/resin-pro-3.1.5/modules/c/src' if test /home/user/resin-pro-3.1.5 != `pwd`; then \ mkdir -p /home/user/resin-pro-3.1.5/lib; \ mkdir -p /home/user/resin-pro-3.1.5/libexec; \ cp -r libexec/* /home/user/resin-pro-3.1.5/libexec; \ cp lib/*.jar /home/user/resin-pro-3.1.5/lib; \ mkdir -p /home/user/resin-pro-3.1.5/bin; \ cp bin/* /home/user/resin-pro-3.1.5/bin; \ mkdir -p /home/user/resin-pro-3.1.5/webapps; \ cp -r webapps/* /home/user/resin-pro-3.1.5/webapps; \ mkdir -p /home/user/resin-pro-3.1.5/conf; \ cp conf/resin.conf /home/user/resin-pro-3.1.5/conf/resin.conf.orig; \ cp conf/app-default.xml /home/user/resin-pro-3.1.5/conf/app-default.xml.orig; \ if test ! -r /home/user/resin-pro-3.1.5/conf/resin.conf; then \ cp conf/resin.conf /home/user/resin-pro-3.1.5/conf/resin.conf; \ cp conf/app-default.xml /home/user/resin-pro-3.1.5/conf/app-default.xml; \ fi; \ fi [user@linuxhost resin-pro-3.1.5]$ Then changing into the target folder: /home/user/resin-pro-3.1.5 [user@linuxhost resin-pro-3.1.5]$ ls -l total 20 drwxr-xr-x 2 user users 4096 Mar 1 12:23 bin drwxr-xr-x 2 user users 4096 Mar 1 12:23 conf drwxr-xr-x 2 user users 4096 Mar 1 12:23 lib drwxr-xr-x 2 user users 4096 Mar 1 12:23 libexec drwxr-xr-x 3 user users 4096 Mar 1 12:23 webapps [user@linuxhost resin-pro-3.1.5]$ ==> I think that the folders "php", "plugins" and "ext-webapp-lib" should be there as well to have a fully functional Resin Professional 3.1.5 Home. Of course, it's possible to start Resin from that folder, but when accessing http://localhost:8080 [^] you're getting offered the documentation (which is available as webapps has been copied) but the PHP administration at /resin-status isnot available (as folder php with the admin is missing). There are workarounds for this, but I think it would be nice if those three folders are also copied by "make install" into the target folder as specified by --prefix argument by ./configure |
||||||||
Additional Information |
Resin-Professional 3.1.5 Linux x86 Java 1.5.0_14 |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |