error building ardour - scons: *** [libs/pbd/path.os] Error 1
This is my first post! I've just joined the ardour community and I'm very happy for that! :)
I'm on slackware-current with gcc-4.7.0 and I'm trying to build ardour-2.8.12 from source but the building unfortunately terminates because of errors. I've tried to build ardour with or without the LV2 support (by passing LV2=1 or LV2=0) but I get the same error message......
libs/pbd/path.cc: In member function 'bool PBD::Path::readable_directory(const string&)':
libs/pbd/path.cc:63:40: error: 'R_OK' was not declared in this scope
libs/pbd/path.cc: In function 'bool PBD::find_file_in_path(const PBD::Path&, const string&, std::string&)':
libs/pbd/path.cc:150:41: error: 'R_OK' was not declared in this scope
scons: *** [libs/pbd/path.os] Error 1
scons: building terminated because of errors.