EUDAT-B2STAGE / B2STAGE-GridFTP

B2STAGE service core code for EUDAT project: iRODS-DSI
14 stars 15 forks source link

Compiling against iRODS 4 #7

Closed muccix closed 9 years ago

muccix commented 9 years ago

I'm opening this issue to track the work related to the compilation of the DSI library againsts iRODS 4.

vladimir-mencl-eresearch commented 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 you are fine with the proposed solution, I am happy to package my working directory into a pull request... :-)

Cheers, Vlad

vladimir-mencl-eresearch commented 9 years ago

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

vladimir-mencl-eresearch commented 9 years ago

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

muccix commented 9 years ago

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