Re: compiling rpm 4.4.4 on Solaris 2.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Jeff Johnson <n3npq.jbj@xxxxxxxxx>:

... snip ...

Thanks for the Solaris fixing.

Send a patch to rpm-devel@xxxxxxxxxxxxxxxxxxxx when you finish and I will merge

I got it to compile, but still need to test if everything works OK. There's some warning message about creating lock on "/" when initializing database, but it seems it creates it.

Anyhow, got some other urgent things to work on, so it might take some time until I produce a patch. Here's the short list of things if anybody else needs to compile it on Solaris 9 in the meantime (and also remineder to myself when I get to it again):

Remove all ucblib stuff.  Evil.

Configure puts -R../zlib option into Makefiles. Compiler/linker barks on it (argument to -R must be absolute path). It is not needed anyhow (zlib is statically linked). Remove.

db.h in rpmdb is a copy from Linux. Use the customized one (for build system) from db directory instead.

rpmdb/rpmdb.c needs to include signal.h (I think I moved this to rpmio/rpmsq.h).

File lib/rpmds.c. Put _SC_ULONG_MAX and _SC_UINT_MAX into ifdefs (they don't exist on Solaris). Also part that references utsname->domainname (for example, by adding HAVE_UTSNAME_DOMAINNAME to config.h), no domainname in utsname on Solaris.

Makefile in python directory. Configure places string 'pythonyes' for include and lib directory. Should be (for example) python2.4. Seems configure detects python, but fails to detect version or something.

misc/libmisc.a needs to have error.o compiled and included into it on Solaris (no error function in standard system libs).

In util and toplevel directories, add misc/libmisc.a to LIBS (couple of binaries need error.o from it).

During make install, popt libs get installed. This might overwrite already installed system libs. If RPM needs its own copy, it should statically link them or intall them under different name. Install shouldn't be done in popt directory (or it should install them under different name).


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux