[Fedora-directory-devel] trying to install on SUSE on ZVM Linux
by angelo fazzina
my OS is called os390, basically mainframe running suse linux image on
it.
I was trying to build rpm for FDS and ran these commands
from the site http://directory.fedora.redhat.com/wiki/Building
% tar xzf dsbuild-fds101.tar.gz
% cd to dsbuild/meta/ds
% make [BUILD_RPM=1]
during the "make [BUILD_RPM=1]" command i get following error.
###############
gmake[5]: Leaving directory `/home/alf02013/dsbuild/ds/mozilla/work/mozilla/security/nss/cmd/shlibsign/mangle'
Linux2.6_s390x_glibc_PTH_OPT.OBJ/shlibsign -v -i ../../../../dist/Linux2.6_s390x_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so
./sign.sh: line 51: 21386 Segmentation fault ${2}/shlibsign -v -i ${4}
gmake[4]: *** [../../../../dist/Linux2.6_s390x_glibc_PTH_OPT.OBJ/lib/libsoftokn3.chk] Error 139
gmake[4]: Leaving directory `/home/alf02013/dsbuild/ds/mozilla/work/mozilla/security/nss/cmd/shlibsign'
################
So far i figured out that the script sign.sh is calling binary called "shlibsign" and it needs the lib file "libssl3.so".
yast has all rpms with "nss" in there name installed, but i don't think i have what i need installed yet because "libssl3.so"
nowhere in the file system except my home directory and that can't be the only place it needs to be?
can i just copy the file to proper location? If so what is that location?
thanx in advance for any help.....
-Angelo
--
angelo fazzina <angelo.fazzina(a)uconn.edu>
17 years, 5 months
[Fedora-directory-devel] Re: [Fedora-directory-commits] setuputil/installer/unix installer.cc, 1.2, 1.3 product.cc, 1.1.1.1, 1.2 product.h, 1.1.1.1, 1.2
by Rich Megginson
Ok.
Noriko Hosoi (nhosoi) wrote:
>Author: nhosoi
>
>Update of /cvs/dirsec/setuputil/installer/unix
>In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31687
>
>Modified Files:
> installer.cc product.cc product.h
>Log Message:
>[175418] Admin Server ns-update crashes if necessary attribute-value is not given
>1) Although Admin Server's PostInstall program ns-update expects it, PostInstall
>framework in SetupUtil does not take silent install option "-s". Changed to pass the option.
>2) PostInstall framework does not support logging. Changed to pass the option.
>3) PostInstall failure is issued as WARNING and the installation finishes with
>Success message even though it really failed. Increased the error level to FATAL.
>
>
>
>Index: installer.cc
>===================================================================
>RCS file: /cvs/dirsec/setuputil/installer/unix/installer.cc,v
>retrieving revision 1.2
>retrieving revision 1.3
>diff -u -r1.2 -r1.3
>--- installer.cc 26 Oct 2005 16:38:16 -0000 1.2
>+++ installer.cc 13 Dec 2005 20:58:22 -0000 1.3
>@@ -27,6 +27,14 @@
> **
> ** HISTORY:
> ** $Log$
>+** Revision 1.3 2005/12/13 20:58:22 nhosoi
>+** [175418] Admin Server ns-update crashes if necessary attribute-value is not given
>+** 1) Although Admin Server's PostInstall program ns-update expects it, PostInstall
>+** framework in SetupUtil does not take silent install option "-s". Changed to pass the option.
>+** 2) PostInstall framework does not support logging. Changed to pass the option.
>+** 3) PostInstall failure is issued as WARNING and the installation finishes with
>+** Success message even though it really failed. Increased the error level to FATAL.
>+**
> ** Revision 1.2 2005/10/26 16:38:16 rmeggins
> ** Bug(s) fixed: 171793
> ** Bug Description: Change setuputil version to 1.0
>@@ -1566,7 +1574,8 @@
> }
> else
> {
>- err = product.postInstall(_serverRoot,_sourceDir, _infoFile, _installInfo);
>+ err = product.postInstall(_serverRoot, _sourceDir,
>+ _infoFile, _installInfo, _installMode, _logFile);
> }
>
> _dialogManager->disableWinMode();
>@@ -1578,7 +1587,8 @@
> product.skip(True);
> if (_installMode == Silent)
> {
>- setupLogMessage(WARN, "Setup", "Failure installing %s\n.", product.get(PKG_NAME));
>+ setupLogMessage(FATAL, "Setup", "Failure installing %s\n.", product.get(PKG_NAME));
>+ return err;
> }
> else
> {
>@@ -1599,6 +1609,8 @@
> if (p->isSelected() && !p->skipped())
> {
> err = doPreOrPostInstall(*p, which);
>+ if (err)
>+ return err;
> }
> }
>
>
>
>Index: product.cc
>===================================================================
>RCS file: /cvs/dirsec/setuputil/installer/unix/product.cc,v
>retrieving revision 1.1.1.1
>retrieving revision 1.2
>diff -u -r1.1.1.1 -r1.2
>--- product.cc 29 Jul 2005 22:16:32 -0000 1.1.1.1
>+++ product.cc 13 Dec 2005 20:58:22 -0000 1.2
>@@ -27,6 +27,14 @@
> **
> ** HISTORY:
> ** $Log$
>+** Revision 1.2 2005/12/13 20:58:22 nhosoi
>+** [175418] Admin Server ns-update crashes if necessary attribute-value is not given
>+** 1) Although Admin Server's PostInstall program ns-update expects it, PostInstall
>+** framework in SetupUtil does not take silent install option "-s". Changed to pass the option.
>+** 2) PostInstall framework does not support logging. Changed to pass the option.
>+** 3) PostInstall failure is issued as WARNING and the installation finishes with
>+** Success message even though it really failed. Increased the error level to FATAL.
>+**
> ** Revision 1.1.1.1 2005/07/29 22:16:32 foxworth
> ** Importing new setup sdk for open source project
> **
>@@ -1308,7 +1316,7 @@
> }
>
> int
>-Product::postInstall(const NSString & serverRoot, const NSString & sourceDir, const char *infoFile, const InstallInfo *installInfo) const
>+Product::postInstall(const NSString & serverRoot, const NSString & sourceDir, const char *infoFile, const InstallInfo *installInfo, InstallMode installMode, const char *logFile) const
> {
> NSString program;
> NSString source;
>@@ -1336,6 +1344,11 @@
> program = program + " -r";
> }
>
>+ if (installMode == Silent)
>+ {
>+ program = program + " -s -l " + logFile;
>+ }
>+
> err = InstUtil::execProgram(program, source);
> }
>
>
>
>Index: product.h
>===================================================================
>RCS file: /cvs/dirsec/setuputil/installer/unix/product.h,v
>retrieving revision 1.1.1.1
>retrieving revision 1.2
>diff -u -r1.1.1.1 -r1.2
>--- product.h 29 Jul 2005 22:16:32 -0000 1.1.1.1
>+++ product.h 13 Dec 2005 20:58:22 -0000 1.2
>@@ -28,6 +28,14 @@
> ** HISTORY
> **
> ** $Log$
>+** Revision 1.2 2005/12/13 20:58:22 nhosoi
>+** [175418] Admin Server ns-update crashes if necessary attribute-value is not given
>+** 1) Although Admin Server's PostInstall program ns-update expects it, PostInstall
>+** framework in SetupUtil does not take silent install option "-s". Changed to pass the option.
>+** 2) PostInstall framework does not support logging. Changed to pass the option.
>+** 3) PostInstall failure is issued as WARNING and the installation finishes with
>+** Success message even though it really failed. Increased the error level to FATAL.
>+**
> ** Revision 1.1.1.1 2005/07/29 22:16:32 foxworth
> ** Importing new setup sdk for open source project
> **
>@@ -309,11 +317,13 @@
> NSString install(const NSString & serverRoot, const NSString & source, NVPair *installInfo);
>
> int preInstall(const NSString & serverRoot, const NSString &sourceDir,
>- const char *installType,
>- InstallMode installMode, const char *logFile,
>- const char *cache) const;
>-
>- int postInstall(const NSString & serverRoot, const NSString & sourceDir, const char *infoFile, const InstallInfo *nvpair) const;
>+ const char *installType,
>+ InstallMode installMode, const char *logFile,
>+ const char *cache) const;
>+
>+ int postInstall(const NSString & serverRoot, const NSString & sourceDir,
>+ const char *infoFile, const InstallInfo *nvpair,
>+ InstallMode installMode, const char *logFile) const;
>
> NSString extract(const char *dest, const char *archive,
> const char *extractProgram=NULL,
>
>--
>Fedora-directory-commits mailing list
>Fedora-directory-commits(a)redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-commits
>
>
17 years, 5 months
[Fedora-directory-devel] Buiding FDS on SuSE
by Bráulio Gergull
Hi All,
I'm trying to buid FDS on SuSE 9.3.
I had to make some changes to the Makefiles to make it find the correct
paths and was able to build almost everything.
I've downloaded the sources from
http://directory.fedora.redhat.com/sourcesand followed the
instructions stated at
http://directory.fedora.redhat.com/wiki/Building.
The following components were sucessfully built in the following order:
console, setuputil, adminutil, onlinehelp, mod_admserv, mod_nss,
mod_restartd, adminserver, directoryconsole and dsonlinehelp
But now when I try to build ldapserver it fails with the following error:
==== Starting LDAP Server Console ==========
gmake BUILD_OPT=1 NO_JAVA=1 buildDirectoryConsole
gmake[1]: Entering directory `/mnt/hdd2/fds/ldapserver'
cd ldap/admin/src/java/com/netscape/xmltools; gmake BUILD_OPT=1 NO_JAVA=1 -w
package
gmake[2]: Entering directory
`/mnt/hdd2/fds/ldapserver/ldap/admin/src/java/com/netscape/xmltools'
javac -deprecation -classpath
"/mnt/hdd2/fds/ldapserver/ldap/admin/src/java:../../../../../../../../dist/classes/ldapjdk.jar:../../../../../../../built/java/optimize/xmltools:../../../../../../../../dist/classes/crimson.jar"
-d ../../../../../../../built/java/optimize/xmltools DSML2LDIF.java
DSML2LDIF.java:44: package netscape.ldap does not exist
However ldapjdk.jar is there:
find <source> -name ldapjdk.jar
<source>/built/package/java/ldapjdk.jar
<source>/built/package/RHEL4_x86_gcc3_OPT.OBJ/base/unzipped/client/java/ldapjdk.jar
<source>/ldapserver/dist/classes/ldapjdk.jar
<source>/imports/console/unzipped/console10/java/ldapjdk.jar
<source>/imports/ldapjdk/ldapjdk.jar
Any help would be appreciated.
Rgrds,
Braulio Gergull
17 years, 6 months