NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: size of short error  (Read 6332 times)

devitos

  • Newbie
  • *
  • Posts: 3
    • View Profile
size of short error
« 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)
« Last Edit: January 01, 1970, 03:00:00 am by devitos »
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6654
    • View Profile
size of short error
« Reply #1 on: June 18, 2007, 01:22:33 pm »

Hi!

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

Best regards,
Victor
Logged

devitos

  • Newbie
  • *
  • Posts: 3
    • View Profile
size of short error
« Reply #2 on: June 18, 2007, 03:07:53 pm »

i cant
it is too large :-(

have you any e-mail  for it ?
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6654
    • View Profile
size of short error
« Reply #3 on: June 18, 2007, 03:35:37 pm »

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

Best regards,
Victor
Logged

devitos

  • Newbie
  • *
  • Posts: 3
    • View Profile
size of short error
« Reply #4 on: June 19, 2007, 05:19:46 am »

field a ball ;-)
Logged

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 916
    • View Profile
size of short error
« Reply #5 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.
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6654
    • View Profile
size of short error
« Reply #6 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
Logged