Closed muccix closed 9 years ago
Hi Roberto,
Thanks for bringing this up.
I've just started looking into it.
And I think I got it working.
Here is the list of issues I ran into - with proposed/mostly implemented solutions:
if ($ENV{IRODS_PATH} STREQUAL "/usr")
- and setting CMake variables irods_include_path_list and irods_link_obj_path that get used further down in the file instead of directly pointing to the files / directories.#ifdef
this (based on something that determines whether we are compiling against iRODS 4).If you are fine with the proposed solution, I am happy to package my working directory into a pull request... :-)
Cheers, Vlad
FYI, regarding the -fPIC flag: Issue reported against iRODS: https://github.com/irods/irods/issues/2622 Pull request: https://github.com/irods/irods/pull/2623
Hi Roberto,
Going over "git diff", I see I missed one extra tweak: iRODS 4 also needs "-lrt" added to the link flags (to get the routine clock_gettime
used by boost::chrono). Can be easily fixed the same way other library dependencies get fixed.
Cheers, Vlad
Hi Vlad,
great! I faced the same problems you reported in your issues list. If you have almost finished implementing the modification, I can wait for you pull request.
By the way, I am trying to refactor the CMakeList.txt adding some Find_packages to make easier the deploy: I will wait for your pull request before proceeding on this.
Cheers, Roberto
I'm opening this issue to track the work related to the compilation of the DSI library againsts iRODS 4.