Main index > Installation problems > FreeBSD 4.10-RELEASE compile problems [SOLVED]

By BSDJunky (User), on Fri Mar 25 15:34:23 2005: FreeBSD 4.10-RELEASE compile problems [SOLVED].

Receiving this error when trying to make on a FreeBSD 4.10-REL box:

Code:


In file included from adesklets.h:33,
                 from main.c:23:
command.h:101: syntax error before `rl_compentry_func_t'
*** Error code 1


Solution:

Two issues. First, some C99 math functions not supported out of the box on FreeBSD4.10. Solution here was a diff kindly supplied by the developer. Second, the out of the box install of readline on 4.10 is also missing required functions. Solve this by upgrading to readline 5 out of the ports tree. Finally, touch scripting/prototypes and scripting/enums files manually before compiling.

NOTE: unless told otherwise, ports installs readline to /usr/local/include whereas the legacy readline resides in /usr/include. Symlink /usr/include/readline to /usr/local/include/readline else build the port with the proper install path to resolve.

By syfou (Core Developer & Desklet Author), on Fri Mar 25 16:00:23 2005.

The diff file against adesklets 0.4.6 can be found here. Of course, it will be included in the next package update. Installing GNU readline 4.3 also worked for me on a similar FreeBSD 4.10-BETA system:

http://adesklets.sourceforge.net/images/freebsd_thumb.png


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.