Changeset 42993
- Timestamp:
- Apr 22, 2026, 11:56:11 AM (2 weeks ago)
- Location:
- branches/eam_branches/ipp-pstamp-20260421/DataStoreServer
- Files:
-
- 1 added
- 3 edited
-
example/commands.sh (added)
-
notes.txt (modified) (2 diffs)
-
web/cgi (modified) (1 prop)
-
web/cgi/Makefile.am (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/notes.txt
r42992 r42993 15 15 This generates the tables needed by the datastore web pages and tools 16 16 17 * choose a psbuild location: 18 # psconfig ipp-pstamp 19 * sets the build / install environment for code below which does not go into 20 the apache server cgi location 21 22 * in psconfig, to install needed perl libraries: 23 # pscheckperl pstamp-ubuntu -build 24 17 25 * in DataStoreServer, to install the apache CGI elements: 18 *./autogen.sh --with-cgidir=/MY/DATASTORE/ds-cgi --with-dsroot=/MY/DATASTORE/dsroot19 *make cgi26 # ./autogen.sh --with-cgidir=/MY/DATASTORE/ds-cgi --with-dsroot=/MY/DATASTORE/dsroot 27 # make cgi 20 28 * then edit /MY/DATASTORE/ds-cgi/dsshellconfig 21 29 ** supply the perl path of the user built to support the datastore … … 45 53 46 54 * Things needed in the user build by the apache server: 47 * dsdbh.pm in PERL 55 * dsdbh.pm (installed as part of DataStoreServer : make cgi) 56 * Devel::CheckLib 48 57 * DBD/mysql.pm 58 59 * Edit the ippconfig/site.config to point at the datastore: 60 * DS_DBSERVER 61 * DS_DBNAME 62 * DS_DBUSER 63 * DS_DBPASSWORD 64 * DATA_STORE_ROOT 49 65 50 66 * Things installed as user tools: 51 67 * dsreg 52 68 * dsprodtool 53 54 *55 69 56 70 ---------- -
branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/web/cgi
-
Property svn:ignore
set to
Makefile
Makefile.in
-
Property svn:ignore
set to
-
branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/web/cgi/Makefile.am
r42992 r42993 1 2 installdir = $(libdir) 3 4 install_files = dsdbh.pm 5 6 install_SCRIPTS = $(install_files) 7 8 ACLOCAL_AMFLAGS = -I m4 9 10 cgi_config = dsshellconfig 11 1 12 cgi_scripts = \ 2 13 dsindex.cgi \ … … 5 16 dsfsindex \ 6 17 dsprodindex \ 7 dsrootindex \ 8 dsshellconfig 18 dsrootindex 9 19 10 20 dsroot_files = index.txt.template index.txt 11 21 12 EXTRA_DIST = $(cgi_scripts) $( dsroot_files)22 EXTRA_DIST = $(cgi_scripts) $(cgi_config) $(dsroot_files) 13 23 14 24 install-cgi: … … 29 39 $(INSTALL_DATA) $$f $(DESTDIR)$(dsroot)/$$f; \ 30 40 done 31 @echo "" 32 @echo "datastore apache CGI code installation complete." 33 @echo "Now please edit $(DESTDIR)$(cgidir)/dsshellconfig" 34 @echo "and add the required settings." 35 @echo "" 41 42 @if test ! -f "$(DESTDIR)$(cgidir)/dsshellconfig"; then \ 43 $(INSTALL_DATA) dsshellconfig "$(DESTDIR)$(cgidir)/dsshellconfig"; \ 44 echo ""; \ 45 echo "Installed new dsshellconfig file:"; \ 46 echo " $(DESTDIR)$(cgidir)/dsshellconfig"; \ 47 echo "Please edit it and add the required settings."; \ 48 echo ""; \ 49 else \ 50 echo ""; \ 51 echo "Preserving existing file:"; \ 52 echo " $(DESTDIR)$(DESTDIR)$(cgidir)/dsshellconfig"; \ 53 echo "Template not reinstalled, so local edits were kept."; \ 54 echo ""; \ 55 fi 36 56 37 57 uninstall-cgi:
Note:
See TracChangeset
for help on using the changeset viewer.
