NetXMS Support Forum

English Support => General Support => Topic started by: devitos on June 18, 2007, 07:22:14 AM

Title: size of short error
Post by: devitos on June 18, 2007, 07:22:14 AM
i've got error while installing

./configure --with-server --with-mysql --with-nxhttpd
.....
checking for short... yes
checking size of short... configure: error: cannot compute sizeof (short)
See `config.log' for more details.

i can post ">cat config.log" here if you whish.

___________________________________________________________________

Debian
uname -m = i686
uname -r = 2.4.27-3-386
uname -s = Linux
/bin/arch              = i686

UPD: glibc (2.3.6.ds1-13)
Title: size of short error
Post by: Victor Kirhenshtein on June 18, 2007, 01:22:33 PM
Hi!

Yes, content of config.log will be very helpful.

Best regards,
Victor
Title: size of short error
Post by: devitos on June 18, 2007, 03:07:53 PM
i cant
it is too large :-(

have you any e-mail  for it ?
Title: size of short error
Post by: Victor Kirhenshtein on June 18, 2007, 03:35:37 PM
Sure - dump-at-netxms.org (replace -at- with @).

Best regards,
Victor
Title: size of short error
Post by: devitos on June 19, 2007, 05:19:46 AM
field a ball ;-)
Title: size of short error
Post by: Alex Kirhenshtein on June 19, 2007, 02:28:42 PM
Yep, bug in configure.

Try to run configure this way:

$ LDFLAGS="-L/path/to/libgd" ./configure --with-server --with-mysql --with-nxhttpd

"/path/to/libgd" will be "/usr/local/lib", probably.
Title: size of short error
Post by: Victor Kirhenshtein on June 20, 2007, 12:19:20 AM
Hi!

It's a bug in configure, but after looking at config.log seems that workaround for you is different: try to locate libgd.so and add containing directory to /etc/ld.so.conf and then run ldconfig. For example, if libgd.so located in /usr/local/lib, just add a line /usr/local/lib to /etc/ld.so.conf.

Best regards,
Victor