Menu

#76 Problem compiling of nam-1.15 with ns-allinone-2.35

v1.0 (example)
closed
nobody
nam-1 (7)
5
2014-11-25
2012-01-27
Anonymous
No

hello,
At the end of the ns-allinone-2.35 installation on Ubuntu 11.10, I got this message "Please compile your nam separately"
Thus, when compiling nam-1.15, I got this error:
rm -f xwd.o; gcc -o xwd.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/home/aroussi/ns-allinone-2.35/tclcl-1.20 -I/home/aroussi/ns-allinone-2.35/otcl-1.14 -I/home/aroussi/ns-allinone-2.35/include -I/home/aroussi/ns-allinone-2.35/include -I/home/aroussi/ns-allinone-2.35/include -I/home/aroussi/ns-allinone-2.35/zlib-1.2.3 xwd.c
xwd.c:87:29: fatal error: X11/Xmu/WinUtil.h: No such file or directory
compilation terminated.
make: *** [xwd.o] Error 1
How can I fix this?

Discussion

  • Nobody/Anonymous

    re,
    I could solve this problem
    just put as comments the following instruction "# include <X11/Xmu/WinUtil.h>" in file "xwd.c" Located in ns-allinone-2.35/nam-1.15, and then compiling nam-1.15

     
  • Sina Aghasi

    Sina Aghasi - 2012-11-23

    hello
    check existence of /usr/include/X11/Xmu/ . If does not exist, run this as root:
    apt-get install libxmu-headers

     
  • Tom Henderson

    Tom Henderson - 2014-11-25
    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.