During a vanilla install of hugs 1.4 on Linux 2.2.17, using the unix configure procedure, I encountered the following anomalies. They may be moot, since 1.4 is not the latest version of hugs. Loader flag -ldl had to be added to Makefile in order to get dlopen from the library. snprintf and vsnprintf are in stdio.h, but HAVE_SNPRINTF and HAVE_VSNPRINTF were missing from config.h, which resulted in conflicting declarations. I added the two #defines. The datatype of fpos_t is a struct, not an integral type. I got around it by 3 small (unportable) changes to iomonad.c. Make install bombed because I did not own $(bindir) and $(libdir) and thus could not chmod them. Removing install -d for these directories fixed the problem. Doug McIlroy
Doug McIlroy wrote:
During a vanilla install of hugs 1.4 on Linux 2.2.17, using the unix configure procedure, I encountered the following anomalies. They may be moot, since 1.4 is not the latest version of hugs.
Loader flag -ldl had to be added to Makefile in order to get dlopen from the library.
snprintf and vsnprintf are in stdio.h, but HAVE_SNPRINTF and HAVE_VSNPRINTF were missing from config.h, which resulted in conflicting declarations. I added the two #defines.
The datatype of fpos_t is a struct, not an integral type. I got around it by 3 small (unportable) changes to iomonad.c.
Make install bombed because I did not own $(bindir) and $(libdir) and thus could not chmod them. Removing install -d for these directories fixed the problem.
Unfortunately, `install -d' insists on doing `chmod 0755', even if the directory exists - this is annoying if the directory was group writable before you installed hugs ;-) `mkdir -p' would be an improvement over `install -d'. --Jeff
participants (2)
-
Doug McIlroy -
Jeffrey R. Lewis