Problems compiling Xymon 4.2.3 on Solaris 9 SPARC
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good afternoon,
Attempting to recompile Xymon 4.2.3 and I'm running into the following
problem:
gmake[1]: Entering directory `/usr/share/src/xymon-4.2.3/bbnet'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
- -D_FILE_OFFSET_BITS=64 -DSunOS -I. -I/usr/share/src/xymon-4.2.3/include
- -I/opt/csw/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS
- -I/opt/csw/include -I/opt/csw/include -c -o bbtest-net.o bbtest-net.c
In file included from /usr/include/rpc/rpcsec_gss.h:25,
from /usr/include/rpc/rpc.h:40,
from bbtest-net.c:23:
/opt/csw/include/gssapi/gssapi.h:2:20: stdint.h: No such file or directory
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/usr/share/src/xymon-4.2.3/bbnet'
gmake: *** [bbnet-build] Error 2
...my understanding is that Solaris 9 does not have stdint.h, instead
having inttypes.h. I don't recall anymore how I got this to compile the
first time as it was some time ago.
Does anyone have some advice as to how I might accomplish this most
easily? Thanks.
- --
- ---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxR3J8ACgkQmb+gadEcsb5HFwCcCnoC405dMVkS4daIjhvK2COj
q30AoJcy4AzKKziipfYsvzlyZvd5iu61
=oSn5
-----END PGP SIGNATURE-----
list Ryan Novosielski
▸
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/29/2010 03:55 PM, Ryan Novosielski wrote:
Good afternoon,
Attempting to recompile Xymon 4.2.3 and I'm running into the following
problem:
gmake[1]: Entering directory `/usr/share/src/xymon-4.2.3/bbnet'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSunOS -I. -I/usr/share/src/xymon-4.2.3/include
-I/opt/csw/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS
-I/opt/csw/include -I/opt/csw/include -c -o bbtest-net.o bbtest-net.c
In file included from /usr/include/rpc/rpcsec_gss.h:25,
from /usr/include/rpc/rpc.h:40,
from bbtest-net.c:23:
/opt/csw/include/gssapi/gssapi.h:2:20: stdint.h: No such file or directory
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/usr/share/src/xymon-4.2.3/bbnet'
gmake: *** [bbnet-build] Error 2
...my understanding is that Solaris 9 does not have stdint.h, instead
having inttypes.h. I don't recall anymore how I got this to compile the
first time as it was some time ago.
Does anyone have some advice as to how I might accomplish this most
easily? Thanks.
Well, the issue appears to be a (in my opinion) broken CSWkrb5 package, that requires stdint.h even though it is not available on the platform the package is for. I didn't realize straight off that this missing header had nothing to do with Xymon. I guess I must have installed this package since I last compiled.
▸
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxR56AACgkQmb+gadEcsb556QCeIWVZwIgDSdjzmXjdqDRMuqTx
ntIAnAplKf7k3DyyiN1eKkyb8Wx9g8ny
=eedj
-----END PGP SIGNATURE-----
list Ralph Mitchell
▸
On Thu, Jul 29, 2010 at 4:42 PM, Ryan Novosielski <user-ae4522577e16@xymon.invalid>wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/29/2010 03:55 PM, Ryan Novosielski wrote:Good afternoon, Attempting to recompile Xymon 4.2.3 and I'm running into the following problem: gmake[1]: Entering directory `/usr/share/src/xymon-4.2.3/bbnet' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I. -I/usr/share/src/xymon-4.2.3/include -I/opt/csw/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -I/opt/csw/include -I/opt/csw/include -c -o bbtest-net.o bbtest-net.c In file included from /usr/include/rpc/rpcsec_gss.h:25, from /usr/include/rpc/rpc.h:40, from bbtest-net.c:23: /opt/csw/include/gssapi/gssapi.h:2:20: stdint.h: No such file or directory gmake[1]: *** [bbtest-net.o] Error 1 gmake[1]: Leaving directory `/usr/share/src/xymon-4.2.3/bbnet' gmake: *** [bbnet-build] Error 2 ...my understanding is that Solaris 9 does not have stdint.h, instead having inttypes.h. I don't recall anymore how I got this to compile the first time as it was some time ago. Does anyone have some advice as to how I might accomplish this most easily? Thanks.Well, the issue appears to be a (in my opinion) broken CSWkrb5 package, that requires stdint.h even though it is not available on the platform the package is for. I didn't realize straight off that this missing header had nothing to do with Xymon. I guess I must have installed this package since I last compiled.
If you don't need xymon to do secure http or ldap checks, you could try
leaving those out during the configure stage.
Ralph Mitchell
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/29/2010 06:58 PM, Ralph Mitchell wrote:
On Thu, Jul 29, 2010 at 4:42 PM, Ryan Novosielski <user-ae4522577e16@xymon.invalid
▸
<mailto:user-ae4522577e16@xymon.invalid>> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/29/2010 03:55 PM, Ryan Novosielski wrote:Good afternoon, Attempting to recompile Xymon 4.2.3 and I'm running into the following problem: gmake[1]: Entering directory `/usr/share/src/xymon-4.2.3/bbnet' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I.-I/usr/share/src/xymon-4.2.3/include-I/opt/csw/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -I/opt/csw/include -I/opt/csw/include -c -o bbtest-net.o bbtest-net.c In file included from /usr/include/rpc/rpcsec_gss.h:25, from /usr/include/rpc/rpc.h:40, from bbtest-net.c:23: /opt/csw/include/gssapi/gssapi.h:2:20: stdint.h: No such file or directory gmake[1]: *** [bbtest-net.o] Error 1 gmake[1]: Leaving directory `/usr/share/src/xymon-4.2.3/bbnet' gmake: *** [bbnet-build] Error 2 ...my understanding is that Solaris 9 does not have stdint.h, instead having inttypes.h. I don't recall anymore how I got this to compile the first time as it was some time ago. Does anyone have some advice as to how I might accomplish this most easily? Thanks.Well, the issue appears to be a (in my opinion) broken CSWkrb5 package, that requires stdint.h even though it is not available on the platform the package is for. I didn't realize straight off that this missing header had nothing to do with Xymon. I guess I must have installed this package since I last compiled. If you don't need xymon to do secure http or ldap checks, you could try leaving those out during the configure stage.
Unfortunately I do need it for both. I'll work on dealing with the Blastwave people to get the dependencies sorted out.
▸
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxSV+EACgkQmb+gadEcsb58sQCeIaYd7j4HuH1oc7siv/SFB7MV
RWQAoIqXRP/UoCJNu4kVMV5M+lsrKrvz
=4sd6
-----END PGP SIGNATURE-----