-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Trying to compile laxkit on FreeBSD with the ultimate objective of compiling Laidout on FreeBSD.
Issue 1: Hardcoded path to cups
FreeBSD% ./configure
(...)
Checking for cups......You need to install the development package of Cups.
Debugging using truss, it turns out /usr/include/cups is hardcoded:
FreeBSD% truss ./configure --disable-sqlite --relocatable 2>&1 | grep cups
Checking for cups......write(1,"Checking for cups......",23) = 23 (0x17)
fstatat(AT_FDCWD,"/usr/include/cups",0x7fffffffe0f8,0x0) ERR#2 'No such file or directory'
On FreeBSD, the string /usr/include/cups must be changed to /usr/local/include/cups in configure. Then it runs without issues.
A better solution would be not to hardcode this string.
Issue 2: Includes are not found
gmake
(...)
fileutils.cc:815:10: error: use of undeclared identifier 'get_current_dir_name'
I don't know how to fix this. Adding #define _GNU_SOURCE at the top of the file did not help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels