size of short error

Started by devitos, June 18, 2007, 07:22:14 AM

Previous topic - Next topic

devitos

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)

Victor Kirhenshtein

Hi!

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

Best regards,
Victor

devitos

i cant
it is too large :-(

have you any e-mail  for it ?

Victor Kirhenshtein

Sure - dump-at-netxms.org (replace -at- with @).

Best regards,
Victor

devitos


Alex Kirhenshtein

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.

Victor Kirhenshtein

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