Solaris 8 x86
Just curious why there isn't a Solaris 8 x86 release/2.0? I believed you can still download the ISO at Sun's website. In addition, Solaris 8 x86/sparc licensing is very favorable. Regards, -- Mike Solaris packages for sparc/x86, insert www. in front the domain: > blastwave.org | openpkg.org | patriots.net | sunfreeware.com < __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Compile error on Solaris 10
I keep getting the below errors when attempting to compile apache 1.3.31 with 'with_mod_php yes' --this is on a Solaris 10 x86 beta version. Any clues what I need to do to get apache compile on Solaris 10 x86? (the error also happens with 1.3.29). Thanks. Regards, -- Mike Solaris packages for sparc/x86, insert www. in front the domain: > blastwave.org | openpkg.org | patriots.net | sunfreeware.com < <=== src/ap ===> src/main /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` gen_test_char.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` gen_uri_delims.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` alloc.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` buff.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` http_config.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` http_core.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` http_log.c /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` http_main.c In file included from http_main.c:597: /usr/include/pthread.h:291: error: parse error before '*' token /usr/include/pthread.h:292: error: parse error before '*' token /usr/include/pthread.h:293: error: parse error before '*' token /usr/include/pthread.h:294: error: parse error before '*' token /usr/include/pthread.h:295: error: parse error before '*' token /usr/include/pthread.h:296: error: parse error before '*' token /usr/include/pthread.h:297: error: parse error before '*' token /usr/include/pthread.h:298: error: parse error before '*' token /usr/include/pthread.h:300: error: parse error before '*' token /usr/include/pthread.h:301: error: parse error before '*' token /usr/include/pthread.h:303: error: parse error before '*' token /usr/include/pthread.h:304: error: parse error before '*' token /openpkg/bin/cc -c -I../os/unix -I../include -DSOLARIS2=2100 -DTARGET=\"apache\" -O2 -pipe -I/openpkg/include `../apaci` http_protocol.c make[4]: *** [http_main.o] Error 1 make[4]: *** Waiting for unfinished jobs make[3]: *** [subdirs] Error 1 make[2]: *** [build-std] Error 2 make[1]: *** [build] Error 2 make: *** [build-quiet] Error 2 + exit 2 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26736 (%build) RPM build errors: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26736 (%build) __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: uninstall all
On Mon, 17 May 2004, Ralf S. Engelschall wrote: > On Sun, May 16, 2004, Mike's List wrote: > > > I'm aware of openpkg rpm -e but is there a way to remove > > ALL packages at once? including openpkg? ie. like the below? > > > > $ openpkg rpm -qa | openpkg rpm -e --will this work? I need to do a > > fresh install and like to remove all packages. Thanks. > > See http://www.openpkg.org/doc/slideset/openpkg/slide-023-m.html: > > $ openpkg rpm -e `openpkg rpm -q --whatrequires openpkg` Cool, that did it, thanks. Regards, -- Mike Solaris packages for sparc/x86, insert www. in front the domain: > blastwave.org | openpkg.org | patriots.net | sunfreeware.com < __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
uninstall all
I'm aware of openpkg rpm -e but is there a way to remove ALL packages at once? including openpkg? ie. like the below? $ openpkg rpm -qa | openpkg rpm -e --will this work? I need to do a fresh install and like to remove all packages. Thanks. Regards, -- Mike Solaris packages for sparc/x86, insert www. in front the domain: > blastwave.org | openpkg.org | patriots.net | sunfreeware.com < __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: VNC (yapr)
On Thu, 13 May 2004, Ralf S. Engelschall wrote: > On Wed, May 12, 2004, Mike's List wrote: > > > Yet another package request (yapr), vnc, www.realvnc.com, thanks. > > or is there some openpkg similiar to vnc that I don't know about? > > We have TightVNC packaged. See package "tightvnc" in CURRENT. > But AFAIK it is currently the client side only... Let's do the server side now :-) Regards, -- Mike Useful Solaris packages sites: alphabetical order, www. infront: --> blastwave.org | openpkg.org | patriots.net | sunfreeware.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
VNC (yapr)
Yet another package request (yapr), vnc, www.realvnc.com, thanks. or is there some openpkg similiar to vnc that I don't know about? Regards, -- Mike Useful Solaris packages sites: alphabetical order, www. infront: --> blastwave.org | openpkg.org | patriots.net | sunfreeware.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
RE: only binutils produce error
On Fri, 7 May 2004, Dennis McRitchie wrote: > Mike, > > Looks like it is picking up a strange mix of include files (maybe some from > OpenPKG and some Solaris 9 native headers), and that they don't play well > together (i.e., header A needs symbol X defined, and expects it to be > defined in header B, but header B comes from a different set of headers and > does not define X). > > What make, binutils, and gcc binaries are you using to build the OpenPKG > make, binutils, and gcc? If you are using the Solaris 9 tools, that may be > the problem. I used the OpenPKG binary versions of make, binutils, and gcc > to get started, and then once they were built, I built everything else from > the newly built versions. I stayed away from Solaris 9 tools as much as > possible. Same here, I used OpenPKG gcc, make and login as openpkg to build my gcc, perl, make, etc. and remove the installed binaries and reinstall my compile version. However, the two apps that I ran into problems are binutils and top (perhaps some sort of /proc reference or such) there are also some in "current" but that's development stuff. I'm compiling getopt, gettext, gtk and tons of stuff from the src and src_plus so far everything is compiling (with the exceptions above). Regards, - Mike Useful Solaris packages sites: alphabetical order, www. infront, / blastwave.org | openpkg.org | patriots.net | sunfreeware.com / __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
top error same as binutils?
In file included from /usr/include/sys/reg.h:13, from /usr/include/sys/regset.h:24, from /usr/include/sys/procfs_isa.h:16, from /usr/include/sys/procfs.h:41, from /usr/include/procfs.h:26, from machine.c:49: /usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t" /usr/include/ia32/sys/reg.h:302: error: parse error before '}' token /usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has incomplete type /usr/include/ia32/sys/reg.h:331: error: parse error before "upad128_t" /usr/include/ia32/sys/reg.h:338: error: parse error before '}' token /usr/include/ia32/sys/reg.h:339: error: parse error before '}' token /usr/include/ia32/sys/reg.h:376: error: parse error before "fpregset_t" In file included from /usr/include/procfs.h:26, from machine.c:49: /usr/include/sys/procfs.h:125: error: parse error before "fpregset_t" /usr/include/sys/procfs.h:158: error: parse error before "lwpstatus_t" In file included from /usr/include/sys/klwp.h:19, from /usr/include/sys/thread.h:13, from /usr/include/sys/proc.h:20, from machine.c:50: /usr/include/sys/ucontext.h:69: error: parse error before "mcontext_t" /usr/include/sys/ucontext.h:71: error: parse error before '}' token make: *** [machine.o] Error 1 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.21979 (%build) RPM build errors: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.21979 (%build) Unfortunately, there's no binary for top in Solaris 9 x86. I'm not sure, but it seems to be the same as the error on binutils that I posted earlier? Regards, - Mike Useful Solaris packages sites: alphabetical order, www. infront, / blastwave.org | openpkg.org | patriots.net | sunfreeware.com / __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
only binutils produce error
Next stop, I installed Solaris 9 x86 (full + oem, so I'm not missing any library or headers and ran Sun's recommended patch cluster). Yet, attempt to compile binutils-2.14-2.0.0.src.rpm yields the below error (compiling seems almost done). Compiling make, gcc, perl, openpkg, and other packages went smoothly. I've bootstraped using openpkg 2.0 and using the src/src_plus, not the current src.rpm. Could someone explain why _only_ binutils is producing the error? Thank you. Regards, - Mike Useful Solaris packages sites: alphabetical order, www. infront, / blastwave.org | openpkg.org | patriots.net | sunfreeware.com / -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -DOPENPKG_OS_SOLARIS -c elf.c -o elf.o In file included from elf.c:41: ../include/libiberty.h:80: warning: function declaration isn't a prototype In file included from /usr/include/sys/reg.h:13, from /usr/include/sys/regset.h:24, from /usr/include/sys/procfs_isa.h:16, from /usr/include/sys/old_procfs.h:32, from /usr/include/sys/procfs.h:29, from elf.c:6323: /usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t" /usr/include/ia32/sys/reg.h:302: error: parse error before '}' token /usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has incomplete type /usr/include/ia32/sys/reg.h:331: error: parse error before "upad128_t" /usr/include/ia32/sys/reg.h:338: error: parse error before '}' token /usr/include/ia32/sys/reg.h:339: error: parse error before '}' token /usr/include/ia32/sys/reg.h:376: error: parse error before "fpregset_t" elf.c: In function `elfcore_grok_nto_status': elf.c:7024: warning: int format, long int arg (arg 3) elf.c: In function `elfcore_grok_nto_gregs': elf.c:7054: warning: int format, pid_t arg (arg 3) make[3]: *** [elf.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive-am] Error 2 make: *** [all-bfd] Error 2 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26896 (%build) RPM build errors: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26896 (%build) __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: Necessity libs/headers
It seems the only package needed is libc6-dev. If I removed libc6-dev, openpkg will not build. But I can remove the following: binutils, build-essential, cpp, cpp-2.95, dpkg-dev, g++, g++-2.95, gcc, gcc-2.95, libstdc++2.10-dev, make, patch. Just an FYI. - Mike -- original message -- My system is Debian 3.0 with base installation. I'm testing some openpkg packages via compiling and it fails. I then proceed with "apt-get install build-essential" to install this package. Once done, compiling openpkg packages work. My question is, what are some of the packages below from installing "build-essential" that I actually need? I don't think I need gcc, binutils, make and perl (again) when I already have those installed via openpkg? Thanks. Regards, - Mike # openpkg rpm -qa | sort apache-1.3.29-2.0.0 binutils-2.14-2.0.0 db-4.2.52.2-2.0.0 fsl-1.4.0-2.0.0 gcc-3.3.3-2.0.0 gdbm-1.8.3-2.0.0 make-3.80-2.0.0 openpkg-2.0.0-2.0.0 openssl-0.9.7c-2.0.0 pcre-4.5-2.0.0 perl-5.8.3-2.0.0perl-ds-5.8.3-2.0.0 perl-openpkg-5.8.3-2.0.0 perl-time-5.8.3-2.0.0 postfix-2.0.18-2.0.0 procmail-3.22-2.0.0 sasl-2.1.17-2.0.0gpg-pubkey-xxx # apt-get install build-essential The following extra packages will be installed: binutils cpp cpp-2.95 dpkg-dev g++ g++-2.95 gcc gcc-2.95 libc6-dev libstdc++2.10-dev make patch perl perl-base perl-modules The following NEW packages will be installed: binutils build-essential cpp cpp-2.95 dpkg-dev g++ g++-2.95 gcc gcc-2.95 libc6-dev libstdc++2.10-dev make patch perl perl-modules __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Necessity libs/headers
On Wed, 5 May 2004, Thomas Lotterer wrote: > On Wed, May 05, 2004, Mike's List wrote: > > Dear Mike, > > > My system is Debian 3.0 with base installation. I'm testing some > > openpkg packages via compiling and it fails. I then proceed with > > "apt-get install build-essential" to install this package. Once done, > > compiling openpkg packages work. > > > OpenPKG is very much self contained. That means it uses it's own > development aka build tools. There is of course a chicken-egg problem: > when you build OpenPKG from source you need development tools without > having OpenPKG already in place. There are two options here: use the > tools that come with your OS (if any) or start with a OpenPKG binary > (same or different instance). You picked the first option which is > perfectly valid. The minimum requirements for OpenPKG 2.0 are the > availability of make, tar and cc (not necessarily GNU) where OpenPKG 1.x > additionally needed uudecode. You can reproduce our setup by reviewing > our "Operating System Prerequisites" [1] logs for OpenPKG 2.0 release > engineering. > > [1] http://cvs.openpkg.org/getfile?f=openpkg-re/osprereq.txt Actually, I used the second option, installing all the binaries for Debian 3.0. But there's no binary for imapd, so I decided to compile from the src.rpm. I received the following error: + ./configure --cache-file=./cache.config --prefix=/openpkg --sysconfdir=/openpkg/etc/imapd --with-openssl=/openpkg --with-dbdir=/openpkg --with-sasl=/openpkg --with-statedir=/openpkg/var/imapd --with-auth=unix --without-libwrap --with-perl --without-ucdsnmp --with-cyrus-prefix=/openpkg --with-cyrus-user=openpkg-r --with-cyrus-group=openpkg-r configure: creating cache ./cache.config checking build system type... configure: error: cannot guess build type; you must specify one error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.84420 (%build) RPM build errors: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.84420 (%build) I thought OpenPKG is self-contain, but I keep re-attempt and the same error shows up. I went into #debian on IRC, someone recommended "build-essential" and *bam* imapd starts to compile. So apparently OpenPKG looks for some necessary library/headers to determine the build? (I'll attempt to de-install build-essential and install each packages individually and see if I can determine which specific file). The reason I'm more focus on Debian base installation and Solaris core installation is due to security, ie. I don't want to install un-necessary packages onto on OS if you don't need to. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Necessity libs/headers
My system is Debian 3.0 with base installation. I'm testing some openpkg packages via compiling and it fails. I then proceed with "apt-get install build-essential" to install this package. Once done, compiling openpkg packages work. My question is, what are some of the packages below from installing "build-essential" that I actually need? I don't think I need gcc, binutils, make and perl (again) when I already have those installed via openpkg? Thanks. Regards, - Mike # openpkg rpm -qa | sort apache-1.3.29-2.0.0 binutils-2.14-2.0.0 db-4.2.52.2-2.0.0 fsl-1.4.0-2.0.0 gcc-3.3.3-2.0.0 gdbm-1.8.3-2.0.0 make-3.80-2.0.0 openpkg-2.0.0-2.0.0 openssl-0.9.7c-2.0.0 pcre-4.5-2.0.0 perl-5.8.3-2.0.0perl-ds-5.8.3-2.0.0 perl-openpkg-5.8.3-2.0.0 perl-time-5.8.3-2.0.0 postfix-2.0.18-2.0.0 procmail-3.22-2.0.0 sasl-2.1.17-2.0.0gpg-pubkey-xxx # apt-get install build-essential The following extra packages will be installed: binutils cpp cpp-2.95 dpkg-dev g++ g++-2.95 gcc gcc-2.95 libc6-dev libstdc++2.10-dev make patch perl perl-base perl-modules The following NEW packages will be installed: binutils build-essential cpp cpp-2.95 dpkg-dev g++ g++-2.95 gcc gcc-2.95 libc6-dev libstdc++2.10-dev make patch perl perl-modules __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: What file/package am I missing?
I was using OpenPKG Debian3.1 release, switch to Openpkg for Debian3.0 release and everything works fine. Thanks. Regards, - Mike -- original message -- What file/package am I missing or needs to upgrade in Debian? ls -l /lib/libc.so.6 is there, thanks. # sh openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh OpenPKG 2.0-RELEASE Binary Bootstrap Package, version 2.0.0 Built for prefix /openpkg on target platform ix86-debian3.1 ++ hooking OpenPKG instance into system environment ++ fixating OpenPKG instance root directory "/openpkg" ++ extracting OpenPKG binary distribution ++ installing OpenPKG binary distribution ./openpkg.bzip2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./openpkg.bzip2) ++ fixating OpenPKG instance filesystem hierarchy openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/bin/openpkg: No such file or directory ++ post-processing OpenPKG bootstrap installation openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/lib/openpkg/rpmdb: No such file or directory openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/lib/openpkg/rpmtool: No such file or directory __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
What file/package am I missing?
What file/package am I missing or needs to upgrade in Debian? ls -l /lib/libc.so.6 is there, thanks. # sh openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh OpenPKG 2.0-RELEASE Binary Bootstrap Package, version 2.0.0 Built for prefix /openpkg on target platform ix86-debian3.1 ++ hooking OpenPKG instance into system environment ++ fixating OpenPKG instance root directory "/openpkg" ++ extracting OpenPKG binary distribution ++ installing OpenPKG binary distribution ./openpkg.bzip2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./openpkg.bzip2) ++ fixating OpenPKG instance filesystem hierarchy openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/bin/openpkg: No such file or directory ++ post-processing OpenPKG bootstrap installation openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/lib/openpkg/rpmdb: No such file or directory openpkg-2.0.0-2.0.0.ix86-debian3.1-openpkg.sh: /openpkg/lib/openpkg/rpmtool: No such file or directory Regards, - Mike [ In addition to www.sunfreeware.com more packages at ftp.patriots.net ] [ Furthermore, you can explore www.openpkg.org -- ease of management. ] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Removing packages after rebuilding
I'm rebuilding php package with gettext and mbstring support. However, compiling php requires the installation of sed, flex, bison, m4, libiconv, and gettext. Once the package compiled, can I safely remove the above installed packages? (ie. sed, flex, bison, m4, lib., gettext) Or does the enabling of gettext and mbstring support requires these packages permanently in place? Thanks. - Mike [ In addition to www.sunfreeware.com more packages at ftp.patriots.net ] [ Furthermore, you can explore www.openpkg.org -- ease of management?? ] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
/dev/audio caused compiling error???
I'm installing OpenPKG from scratch and follows the Quick Reference. Things were going fine and almost done until the below errors. I'm running Solaris 9 x86 on an Intel CA810E with onboard audio, could a simple /dev/audio caused the script failure below? If so, how do I go about disabling or temporarily remove the audio or get around the compiling looking at /dev/audio interface? /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -O -O3 -fomit-frame-pointer -c entropy.c -o entropy.o entropy.c:1154:11: #error Unknown type of /dev/audio interface make[2]: *** [entropy.lo] Error 1 make[2]: Leaving directory `/tmp/openpkg-2.0.0/beecrypt-3.1.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/openpkg-2.0.0/beecrypt-3.1.0' make: *** [all] Error 2 + exit 2 + exit 2 ./openpkg.boot:ERROR: script returned non-null value Thanks in advance for any hints/tips. - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Compiling Postfix Errors
I attempted to rebuild Postfix with more options, but received the errors below. I have sasl, ssl, ldap, mysql installed, something else I need to configure before compiling? The errors indicate some libs are closed? openpkg rpm --rebuild --define 'with_fsl yes' --define 'with_ssl yes' --define 'with_sasl yes' --define 'with_mysql yes' --define 'with_ldap yes' ~mike/openpkg/src/postfix-2.0.18-2.0.0.src.rpm Thanks. - Mike ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L/openpkg/lib -ldb -lpcre -L/openpkg/lib/mysql -L/openpkg/lib -lmysqlclient -lz -lm -lsasl2 -lcrypt -ldl -lssl -lcrypto -lldap -llber -lssl -lcrypto -L/openpkg/lib -lfsl -lsocket -lnsl -lresolv -lsocket -lnsl /openpkg/lib/libldap.a(cyrus.o)(.text+0xe): In function `ldap_int_sasl_init': : undefined reference to `sasl_version' /openpkg/lib/libldap.a(cyrus.o)(.text+0x99): In function `ldap_int_sasl_init': : undefined reference to `sasl_client_init' /openpkg/lib/libldap.a(cyrus.o)(.text+0x129): In function `sb_sasl_setup': : undefined reference to `sasl_getprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0x3e3): In function `sb_sasl_read': : undefined reference to `sasl_decode' /openpkg/lib/libldap.a(cyrus.o)(.text+0x42d): In function `sb_sasl_read': : undefined reference to `sasl_errstring' /openpkg/lib/libldap.a(cyrus.o)(.text+0x582): In function `sb_sasl_write': : undefined reference to `sasl_encode' /openpkg/lib/libldap.a(cyrus.o)(.text+0x5b1): In function `sb_sasl_write': : undefined reference to `sasl_errstring' /openpkg/lib/libldap.a(cyrus.o)(.text+0x77c): In function `ldap_int_sasl_open': : undefined reference to `sasl_client_new' /openpkg/lib/libldap.a(cyrus.o)(.text+0x810): In function `ldap_int_sasl_close': : undefined reference to `sasl_dispose' /openpkg/lib/libldap.a(cyrus.o)(.text+0x82b): In function `ldap_int_sasl_close': : undefined reference to `sasl_dispose' /openpkg/lib/libldap.a(cyrus.o)(.text+0x901): In function `ldap_int_sasl_bind': : undefined reference to `sasl_dispose' /openpkg/lib/libldap.a(cyrus.o)(.text+0x9ee): In function `ldap_int_sasl_bind': : undefined reference to `sasl_setprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0xa28): In function `ldap_int_sasl_bind': : undefined reference to `sasl_client_start' /openpkg/lib/libldap.a(cyrus.o)(.text+0xb04): In function `ldap_int_sasl_bind': : undefined reference to `sasl_client_step' /openpkg/lib/libldap.a(cyrus.o)(.text+0xb95): In function `ldap_int_sasl_bind': : undefined reference to `sasl_getprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0xbbf): In function `ldap_int_sasl_bind': : undefined reference to `sasl_getprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0xc5e): In function `ldap_int_sasl_bind': : undefined reference to `sasl_dispose' /openpkg/lib/libldap.a(cyrus.o)(.text+0xc98): In function `ldap_int_sasl_bind': : undefined reference to `sasl_errdetail' /openpkg/lib/libldap.a(cyrus.o)(.text+0xcd6): In function `ldap_int_sasl_bind': : undefined reference to `sasl_errdetail' /openpkg/lib/libldap.a(cyrus.o)(.text+0xde8): In function `ldap_int_sasl_bind': : undefined reference to `sasl_errdetail' /openpkg/lib/libldap.a(cyrus.o)(.text+0xed9): In function `ldap_int_sasl_external': : undefined reference to `sasl_setprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0xef8): In function `ldap_int_sasl_external': : undefined reference to `sasl_setprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0x124e): In function `ldap_int_sasl_get_option': : undefined reference to `sasl_getprop' /openpkg/lib/libldap.a(cyrus.o)(.text+0x12d4): In function `ldap_int_sasl_set_option': : undefined reference to `sasl_setprop' collect2: ld returned 1 exit status make: *** [error] Error 1 make: *** [update] Error 1 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.1397 (%build) RPM build errors: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.1397 (%build) [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: rebuild php / definition
Never mind, it's like d'uh, I should of read my other e-mail on rebuild apache with options...Michael van Elst already mentioned that using openpkg rpm -qip would returns all the options I needed to rebuild the software. Regards, - Mike On Fri, 19 Mar 2004, Mike's List wrote: > Now that I know how to build apache with php/mysql enabled, I need to add > imap to apache and build php with gettext support... > > This is how apache was built, > > openpkg rpm --rebuild --define 'with_mod_php yes' --define \ > 'with_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm > > ...w/additional support for imap w/in apache, do I just add the below? > > --define 'with_mod_php_mysql_imap yes' > > openpkg rpm --rebuild --define 'with_mod_php yes' --define \ > 'with_mod_php_mysql yes' --define 'with_mod_php_mysql_imap yes' \ > ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm > > ...to build PHP with gettext enable do I just do the below? > > openpkg rpm --rebuild --define 'with_mod_gettext yes' \ > ~mike/openpkg/src/php-4.3.4-2.0.0.src.rpm > > The key part is --define 'with_mod_ yes' and if there's additional > module you added onto the second definition and third and so on? (like the > apache example above?) > > Regards, > > > - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: rebuild php / definition
On Sat, 20 Mar 2004, Matthias Kurz wrote: > You remember how to find the valid options ? > -> http://marc.theaimsgroup.com/?l=openpkg-users&m=107950470830001&w=2 > > "rpm -qip" is for querying rpm archives (e.g. to find the defaults). You > can also list the options of installed packages (and the current settings) > with "rpm -qi pkg" or with "rpm -q --provides pkg" (e.g. "rpm -qi apache" > see man rpm). Got it, I must of missed this e-mail somehow, now I'm seeing my options and what needs to be added. d'uh > So, "with_mod_php_mysql_imap" does not look like a valid option. 'with_mod_php_imap yes' looks better... > I'm not quite sure, whether i understand this question. When you have > built e.g. apache with two options and you want another option then you > have to specify all three options in the new build, not only the additional > one. Generally, you have to specify _all_ options that are different from > the defaults in each build. > Also, you have to use "rpm --force -Uvh" to install the modified > binary package. > Did someone already mention openpkg-tool ? ;-) I feel like openpkg-tool is too advance? for me. - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: rpm hangs while building some packages under solaris
On Fri, 19 Mar 2004, Doug Henry wrote: > I believe I found the problem. If I move /usr/bin before /usr/ucb in my > path everything seems to work. Different set of tools (tr, sed, etc.). > Not sure how they are different, but they definitely are. /usr/ucb is deprecated in Solaris 9, it's mainly for backwards compatibility with older Solaris version (SunOS/BSDish). You should put /usr/ucb towards the very end in your PATH statement. ucb = university california berkeley (if I'm not mistaken). - Mike > On Fri, 2004-03-19 at 11:37, Ralf S. Engelschall wrote: > > On Fri, Mar 19, 2004, Doug Henry wrote: > > > > > the first two commands also hang. the last command hangs after the sed > > > (last) command. I have attached my console output. > > > [...] > > > + [ .platform != . ] > > > toolcmd=/home/losradar/tools/SunOS-5.8/lib/openpkg/shtool platform > > > toolcmdhelp=shtool platform > > > msgprefix=shtool:platform > > > + echo 0= > > > + sed -e s/^\([0-9]*\)\([+=]\)/arg_NUMS=\1; arg_MODE=\2/ > > > + eval arg_NUMS=0; arg_MODE== > > > arg_NUMS=0 > > > arg_MODE== > > > + echo h.F:S:C:L.U.v.c.n.t:d.V.h. > > > + sed -e s/\([a-zA-Z0-9]\)\([.:+]\)/opt_MODE_\1=\2;/g > > > + eval > > > opt_MODE_h=.;opt_MODE_F=:;opt_MODE_S=:;opt_MODE_C=:;opt_MODE_L=.;opt_MODE_U=.;opt_MODE_v=.;opt_MODE_c=.;opt_MODE_n=.;opt_MODE_t=:;opt_MODE_d=.;opt_MODE_V=.;opt_MODE_h=.; > > > opt_MODE_h=. > > > opt_MODE_F=: > > > opt_MODE_S=: > > > opt_MODE_C=: > > > opt_MODE_L=. > > > opt_MODE_U=. > > > opt_MODE_v=. > > > opt_MODE_c=. > > > opt_MODE_n=. > > > opt_MODE_t=: > > > opt_MODE_d=. > > > opt_MODE_V=. > > > opt_MODE_h=. > > > + echo > > > h:help,F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help > > > + tr x- x_ > > > + sed -e s/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g > > > ^C > > > $ > > > $ exit > > > > Err... then something is broken on your platform. Why should this hang at all? > > Try the following commands: > > > > $ echo "echo > > h:help,F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help" > > | tr x- x_ | sed -e 's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g' > > > > and give me the output of these commands so I can try to reproduce it on a similar > > machine: > > > > $ which echo > > $ which tr > > $ which sed > > $ uname -a > > > >Ralf S. Engelschall > >[EMAIL PROTECTED] > >www.engelschall.com > > > > __ > > The OpenPKG Projectwww.openpkg.org > > User Communication List [EMAIL PROTECTED] > -- > You know it is summer in Ireland when the rain gets warmer. > > __ > The OpenPKG Projectwww.openpkg.org > User Communication List [EMAIL PROTECTED] > __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
rebuild php / definition
Now that I know how to build apache with php/mysql enabled, I need to add imap to apache and build php with gettext support... This is how apache was built, openpkg rpm --rebuild --define 'with_mod_php yes' --define \ 'with_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm ...w/additional support for imap w/in apache, do I just add the below? --define 'with_mod_php_mysql_imap yes' openpkg rpm --rebuild --define 'with_mod_php yes' --define \ 'with_mod_php_mysql yes' --define 'with_mod_php_mysql_imap yes' \ ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm ...to build PHP with gettext enable do I just do the below? openpkg rpm --rebuild --define 'with_mod_gettext yes' \ ~mike/openpkg/src/php-4.3.4-2.0.0.src.rpm The key part is --define 'with_mod_ yes' and if there's additional module you added onto the second definition and third and so on? (like the apache example above?) Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: Rebuild Apache with options
Thanks to: Michael Schloh von Bennewitz and Matthias Kurz for their unwavering support. Michael mentioned something about openpkg being perl based and *wham* I recalled perl's permission. One of the program/software I installed and ran on the server changed permission of /openpkg/bin/perl to 4555 I changed it back to 755 and everything starts to compile like normal again. # ls -al perl -r-sr-xr-x 1 openpkg openpkg 858896 Feb 18 19:07 perl [EMAIL PROTECTED] /openpkg/bin# chmod 755 perl [EMAIL PROTECTED] /openpkg/bin# ls -al perl -rwxr-xr-x 1 openpkg openpkg 858896 Feb 18 19:07 perl The effect of wrong perl permission is weird UID/GID created during compilation, and the file "files" not being created properly. Regards, - Mike -- original message -- I've remove the apache binary package that was installed, reboot the server, make certain /openpkg/RPM/TMP has enough disk space (4+Gig). The error message still appears, it seems like apache doesn't want to compile and something about %files file...no such file or directory. Where do I get the "openpkg build" --supposedly in the tools? but I don't see it at ftp.openpkg.org or do I need to get it someplace else? Thanks. - Mike On Wed, 17 Mar 2004, Mike's List wrote: > Rebuild was going along just fine, until the errors (below). This happens > to me when I attempted to do proftpd earlier but thought it might be just > proftp specific (as the binary package keeps dumping core on me). Do I > need to reboot the server to correct this or something more sinister? > > > # openpkg rpm --rebuild --define 'with_mod_php yes' --define 'wi > th_mod_php_mysql > yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm > > > rpmtool:files: pass 1 (preparation and syntactical expansions) > rpmtool:files: pass 2 (filesystem-based expansions) > rpmtool:files: pass 3 (duplication removal and cleanup) > + exit 0 > Processing files: apache-1.3.29-2.0.0 > error: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: > No such file or directory > > > RPM build errors: > Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No > such file or directory > > As you can see the directories are there. > [EMAIL PROTECTED] > /openpkg/RPM/TMP# ls -l > total 4 > drwxr-xr-x 5 root other512 Mar 17 06:36 apache-1.3.29 > drwxr-xr-x 3 root other512 Mar 17 06:36 apache-1.3.29-root > > > __ > The OpenPKG Projectwww.openpkg.org > User Communication List [EMAIL PROTECTED] > __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Rebuild Apache with options
I've remove the apache binary package that was installed, reboot the server, make certain /openpkg/RPM/TMP has enough disk space (4+Gig). The error message still appears, it seems like apache doesn't want to compile and something about %files file...no such file or directory. Where do I get the "openpkg build" --supposedly in the tools? but I don't see it at ftp.openpkg.org or do I need to get it someplace else? Thanks. - Mike On Wed, 17 Mar 2004, Mike's List wrote: > Rebuild was going along just fine, until the errors (below). This happens > to me when I attempted to do proftpd earlier but thought it might be just > proftp specific (as the binary package keeps dumping core on me). Do I > need to reboot the server to correct this or something more sinister? > > > # openpkg rpm --rebuild --define 'with_mod_php yes' --define 'wi \ > th_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm > > > rpmtool:files: pass 1 (preparation and syntactical expansions) > rpmtool:files: pass 2 (filesystem-based expansions) > rpmtool:files: pass 3 (duplication removal and cleanup) > + exit 0 > Processing files: apache-1.3.29-2.0.0 > error: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: > No such file or directory > > > RPM build errors: > Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No > such file or directory > > As you can see the directories are there. > [EMAIL PROTECTED] > /openpkg/RPM/TMP# ls -l > total 4 > drwxr-xr-x 5 root other512 Mar 17 06:36 apache-1.3.29 > drwxr-xr-x 3 root other512 Mar 17 06:36 apache-1.3.29-root > > > __ > The OpenPKG Projectwww.openpkg.org > User Communication List [EMAIL PROTECTED] > __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Rebuild Apache with options
Rebuild was going along just fine, until the errors (below). This happens to me when I attempted to do proftpd earlier but thought it might be just proftp specific (as the binary package keeps dumping core on me). Do I need to reboot the server to correct this or something more sinister? # openpkg rpm --rebuild --define 'with_mod_php yes' --define 'wi \ th_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm rpmtool:files: pass 1 (preparation and syntactical expansions) rpmtool:files: pass 2 (filesystem-based expansions) rpmtool:files: pass 3 (duplication removal and cleanup) + exit 0 Processing files: apache-1.3.29-2.0.0 error: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No such file or directory RPM build errors: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No such file or directory As you can see the directories are there. [EMAIL PROTECTED] /openpkg/RPM/TMP# ls -l total 4 drwxr-xr-x 5 root other512 Mar 17 06:36 apache-1.3.29 drwxr-xr-x 3 root other512 Mar 17 06:36 apache-1.3.29-root __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Rebuild Apache with options
Rebuild was going along just fine, until the errors (below). This happens to me when I attempted to do proftpd earlier but thought it might be just proftp specific (as the binary package keeps dumping core on me). Do I need to reboot the server to correct this or something more sinister? # openpkg rpm --rebuild --define 'with_mod_php yes' --define 'wi \ th_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm rpmtool:files: pass 1 (preparation and syntactical expansions) rpmtool:files: pass 2 (filesystem-based expansions) rpmtool:files: pass 3 (duplication removal and cleanup) + exit 0 Processing files: apache-1.3.29-2.0.0 error: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No such file or directory RPM build errors: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No such file or directory As you can see the directories are there. [EMAIL PROTECTED] /openpkg/RPM/TMP# ls -l total 4 drwxr-xr-x 5 root other512 Mar 17 06:36 apache-1.3.29 drwxr-xr-x 3 root other512 Mar 17 06:36 apache-1.3.29-root __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Rebuild Apache with options
On Wed, 17 Mar 2004, Matthias Kurz wrote: > On Wed, Mar 17, 2004, Michael van Elst wrote: > > > On Wed, Mar 17, 2004 at 07:18:38AM +0100, Michael van Elst wrote: > > > > > rpm --rebuild --define 'with_php yes' --define 'with_php_mysql yes' apache > > > > That should have been: 'with_mod_php yes' and 'with_mod_php_mysql yes'. > > > > And it would probably better to use "openpkg build", wouldn't it ? > > openpkg build -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes apache | sh > > One can also create a file $HOME/.openpkg/build and put those options in > it (one option per line). # openpkg build -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes \ apache | sh openpkg:ERROR: No such command "build" found in command path openpkg:ERROR: (/openpkg/libexec/openpkg). openpkg:ERROR: Set $OPENPKG_TOOLS_CMDPATH appropriately. openpkg:ERROR: Run "/openpkg/bin/openpkg --help" for list of valid commands. I don't see this "build" feature with openpkg. I saw "rpmbuild" when doing openpkg --help. Is this what you're referring to as build? # openpkg rpmbuild -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes\ apache | sh error: Macro %yes has empty body error: Macro %yes has empty body -Dapache::with_mod_php=yes: unknown option - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: SUMMARY: rpm -e
On Wed, 17 Mar 2004, Matthias Kurz wrote: > > Maybe this was best suited for your case. Generally an update is better > than a remove/reinstall, i think, because the update retains modified > config files in most cases. I find that openpkg saves the config into a different file, in my case, postfix --> main.cf --> main.cf.rpmsave (I only modified main.cf). I'm not certain about other files such as access, virtual, etc. as I did not modify those. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Rebuild Apache with options
On Tue, 16 Mar 2004, David M. Fetter wrote: > Do this: > > 1. openpkg rpm -ivh apache*src.rpm done > 2. vi %prefix/RPM/SRC/apache/apache.spec I'm green with this options stuff but there are tons of lines with "# packages options" and many more lines of code, note, I'm not a programmer/developer. # package options (suexec related) # package options (suphp related) # package options (additionally used Apache modules; can be enabled without thinking) # package options (additionally used Apache modules; you have to know what you do) # fixing implicit inter-module dependencies and correlations > 3. make appropriate configure changes/additions I guess I need to know where to make the appropriate configurations. I attempted to get to your website for reference but browser just hang. > 4. openpkg rpm -ba %prefix/RPM/SRC/apache/apache.spec > 5. openpkg rpm -ivh $prefix/RPM/PKG/apache*.rpm > > > Mike's List wrote: > > How do I build Apache with support for PHP/MySQL/IMAP and so on? > > Currently, I'm doing the following to install packages: > > > > "openpkg rpm -rebuild /dir/source" then "openpkg rpm -Uvh " > > > > But I need more options for some of the software, my server platform > > is Solaris 9 and I need to get Squirrelmail and Horde/IMP for webmail > > system. > > > > Some of the instructions for Apache are as follows: > > > > ./configure --with-apache=/apache1.3.12 \ > > --with-mysql=/usr/local/mysql --with-imap=/imap-4.7c ...and then > > > > ./configure --activate-module=src/modules/php4/libphp4.a > > > > I need some of references and howtos for openpkg advance build features. > > I've installed Apache binary package, but there's no PHP support built in? > > as Squirrelmail does not displays the .php extension. > > > > Regards, > > > > > > - Mike > > > > > > > > __ > > The OpenPKG Projectwww.openpkg.org > > User Communication List [EMAIL PROTECTED] > > > > -- > David M. Fetter - UNIX Systems Administrator > Portland State University - www.oit.pdx.edu > > __ > The OpenPKG Projectwww.openpkg.org > User Communication List [EMAIL PROTECTED] > __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Rebuild Apache with options
How do I build Apache with support for PHP/MySQL/IMAP and so on? Currently, I'm doing the following to install packages: "openpkg rpm -rebuild /dir/source" then "openpkg rpm -Uvh " But I need more options for some of the software, my server platform is Solaris 9 and I need to get Squirrelmail and Horde/IMP for webmail system. Some of the instructions for Apache are as follows: ./configure --with-apache=/apache1.3.12 \ --with-mysql=/usr/local/mysql --with-imap=/imap-4.7c ...and then ./configure --activate-module=src/modules/php4/libphp4.a I need some of references and howtos for openpkg advance build features. I've installed Apache binary package, but there's no PHP support built in? as Squirrelmail does not displays the .php extension. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: postfix connection
After much experiment, I think I found the problem. I followed the postfix config suggested at http://www.postfix.org/basic.html and found the below two options in main.cf --uncomment the options, reload postfix, and mail now works just fine. Thank you everyone for your help and patience. mydestination= $myhostname, localhost.$mydomain relay_domains= $mydestination, Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: postfix connection
On Tue, 16 Mar 2004, Steffen Weinreich wrote: > > --On Dienstag, 16. März 2004 12:36 -0600 Mike's List <[EMAIL PROTECTED]> > wrote: > > >> I tried out pine for the first time today. It seems to connect to > >> whatever is listening to port 25 (postfix, netcat, etcetera), but only > >> if its configuration is correct. > > > > Now I'm wondering if it's postfix, I can telnet to port 25 but I can't > > send any commands. Shouldn't I be able to type "EHLO" or HELP, etc. once > > connected via telnet to port 25? > > Yes, you should... did you try to bind the postfix on 0.0.0.0? I´m not sure > but I think a I had an similar issue which has been solved not to bind to a > specific IP but on all IP´s... Are you referring to the smtp_bind_address = 192.168.2.3 parameter? It seems to be a bit better, PINE/MUTT seems to send e-mail but the local recipient never gets it. mailq displays list of mails but it's not delivered, something along the line of: 825ACCF46 422 Tue Mar 16 09:46:11 [EMAIL PROTECTED] (connect to 192.168.2.3[192.168.2.3]: read timeout) [EMAIL PROTECTED] [EMAIL PROTECTED] I'm attempting to get mail to work locally w/in the server 192.168.2.3 and not outside onto the Net or such. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: rpm -e
Thanks to: Bill Campbell, Steffen Weinreich, and Thomas Lotterer for the quick replies. The below command works. In addition, you can rebuild the package and do an rpm -U --force to do the new installation. I decided to remove/reinstall to be safe. openpkg rpm --erase --nodeps postfix Regards, - Mike -- original message -- bash-2.05b# openpkg rpm --erase postfix error: Failed dependencies: MTA is needed by (installed) qpopper-4.0.5-2.0.0 MTA is needed by (installed) pine-4.58L-2.0.0 I've added --force, but rpm -e doesn't seems to work. Is there a way to remove a package (force) even when dependencies failed? I want to remove postfix binary package and rebuild it from source. - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
rpm -e
bash-2.05b# openpkg rpm --erase postfix error: Failed dependencies: MTA is needed by (installed) qpopper-4.0.5-2.0.0 MTA is needed by (installed) pine-4.58L-2.0.0 I've added --force, but rpm -e doesn't seems to work. Is there a way to remove a package (force) even when dependencies failed? I want to remove postfix binary package and rebuild it from source. - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: postfix connection
On Tue, 16 Mar 2004, Michael Schloh von Bennewitz wrote: > I tried out pine for the first time today. It seems to connect to whatever > is listening to port 25 (postfix, netcat, etcetera), but only if its > configuration is correct. Now I'm wondering if it's postfix, I can telnet to port 25 but I can't send any commands. Shouldn't I be able to type "EHLO" or HELP, etc. once connected via telnet to port 25? > To configure pine, enter its mail menu and select the 'SETUP' submenu. > Choose 'C' for 'Config:'. Edit the 'smtp-server' item to your SMTP server so > that it reads 'localhost' and try to send an email with pine again. Yes, I tried localhost, actual IP, full domain name. > As long as your postfix server is listening correctly (try telnet again to > check this), then I think pine will send correctly. I might remove the binary package and reinstall the binary package. I'm using mainly binary packages now instead compiling from source. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: postfix connection
On Tue, 16 Mar 2004, Michael Schloh von Bennewitz wrote: > The example netcat command I suggested was just a rough estimate taken > from memory. Here is a more exact suggestion: > > echo 'Some fake SMTP Banner' | nc -l -p 25 I've done the above command, and telnetted to the server with another window and can see the typing of text through port 25. > Now run pine in another terminal window and send an email normally. I've tested PINE and MUTT, both did not send anything through the window with the nc command versus telnetting. I was going to try using sendmail but I don't see a sendmail package at openpkg.org is there plan for sendmail and other packages or just what's there? I can download sendmail via sunfreeware.com but prefer to do installation with one method. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
postfix connection
I've sucessfully open the ports to some of my packages. I've installed postfix and correctly enter 192.168.2.3 in place of 127.0.0.1 (I'm testing the server before production) and can telnet to 192.168.2.3 25 however, PINE cannot connects to 192.168.2.3. I've configured PINE SMTP server to 192.168.2.3 and configured all postfix variables in main.cf accordingly. Is is a postfix problem (doesn't seems like it) or PINE problem or something else I need to explore. I test my ports by telneting to that particular port and use nmap. Thanks. Regards, - Mike __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
SUMMARY: OpenPKG problem (ports closed)
Thanks to: Ralf S. Engelschall and Michael Schloh von Bennewitz All the packages installed are default to 127.0.0.1 --finding the config in /openpkg/etc/ and changing it to the IP solves the problem. /openpkg/sbin/ stop | start - Mike --- original post --- > > I've installed OpenPKG 2.0 and some of the rpm binary successfully, > such as: apache, openssh, perl, and many more, but when attempt to > connect to these services, it's not available. I've ran nmap locally > on the server and it shows all the ports open. I've ran nmap outside > to the server, none of the ports show up. Server is running on Sol9. > > Do I need to do something else in order for the software to work? > Does OpenPKG automatically install some sort of firewall or proxy? > (I've installed apache packages on other server and it automatically > works right after installation, as with ssh, etc.) > > Thanks. > > > - Mike > > Here's a list of openpkg processes: > > bash-2.05b# ps -ef | grep openpkg > root 563 1 0 16:31:42 ?0:00 /openpkg/sbin/apache > openpkg- 364 1 0 16:31:37 ?0:00 /bin/sh /openpkg/bin/mysqld_safe > --mysqld=mysqld --pid-file=/openpkg/var/mysql/ > openpkg- 425 364 0 16:31:37 ?0:00 /openpkg/libexec/mysql/mysqld > --basedir=/openpkg --datadir=/openpkg/var/mysql - > root 915 1 0 16:31:45 ?0:00 /openpkg/bin/sshd > openpkg 2390 1074 0 18:11:47 ?0:00 pickup -l -t fifo -u > openpkg- 655 563 0 16:31:43 ?0:00 /openpkg/sbin/apache > openpkg- 656 563 0 16:31:43 ?0:00 /openpkg/sbin/apache > openpkg- 657 563 0 16:31:43 ?0:00 /openpkg/sbin/apache > openpkg- 658 563 0 16:31:43 ?0:00 /openpkg/sbin/apache > openpkg- 659 563 0 16:31:43 ?0:00 /openpkg/sbin/apache > openpkg 1085 1074 0 16:31:47 ?0:00 qmgr -l -t fifo -u > root 1869 1256 0 17:09:55 console 0:00 /openpkg/bin/bash > openpkg 2744 1074 0 18:49:47 ?0:00 proxymap -t unix -u __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
OpenPKG problem (ports closed)
I've installed OpenPKG 2.0 and some of the rpm binary successfully, such as: apache, openssh, perl, and many more, but when attempt to connect to these services, it's not available. I've ran nmap locally on the server and it shows all the ports open. I've ran nmap outside to the server, none of the ports show up. Server is running on Sol9. Do I need to do something else in order for the software to work? Does OpenPKG automatically install some sort of firewall or proxy? (I've installed apache packages on other server and it automatically works right after installation, as with ssh, etc.) Thanks. - Mike Here's a list of openpkg processes: bash-2.05b# ps -ef | grep openpkg root 563 1 0 16:31:42 ?0:00 /openpkg/sbin/apache openpkg- 364 1 0 16:31:37 ?0:00 /bin/sh /openpkg/bin/mysqld_safe --mysqld=mysqld --pid-file=/openpkg/var/mysql/ openpkg- 425 364 0 16:31:37 ?0:00 /openpkg/libexec/mysql/mysqld --basedir=/openpkg --datadir=/openpkg/var/mysql - root 915 1 0 16:31:45 ?0:00 /openpkg/bin/sshd openpkg 2390 1074 0 18:11:47 ?0:00 pickup -l -t fifo -u openpkg- 655 563 0 16:31:43 ?0:00 /openpkg/sbin/apache openpkg- 656 563 0 16:31:43 ?0:00 /openpkg/sbin/apache openpkg- 657 563 0 16:31:43 ?0:00 /openpkg/sbin/apache openpkg- 658 563 0 16:31:43 ?0:00 /openpkg/sbin/apache openpkg- 659 563 0 16:31:43 ?0:00 /openpkg/sbin/apache openpkg 1085 1074 0 16:31:47 ?0:00 qmgr -l -t fifo -u root 1869 1256 0 17:09:55 console 0:00 /openpkg/bin/bash openpkg 2744 1074 0 18:49:47 ?0:00 proxymap -t unix -u __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]