irods_rule_engine_plugin_python issue

14 views
Skip to first unread message

Laura Lo Gerfo

unread,
May 16, 2025, 12:24:36 PMMay 16
to iRODS-Chat

Hello Everyone,

I'm currently attempting to build the iRODS Python Rule Engine Plugin and would appreciate your assistance with an issue I've encountered during the compilation process.

I am trying to build the irods_rule_engine_plugin_python using irods-dev version 4.3.3, following the requirements outlined in the plugin’s GitHub repository.

I initially attempted this on Ubuntu 24.04 under WSL, as it seemed that a version of irods-dev for Ubuntu 24 was available (https://irods.org/download/). However, I ran into compatibility issues due to the removal of libssl1.1, which is required by some dependencies.

As a workaround, I switched to using Ubuntu 22.04 in a Docker container to ensure a compatible build environment. I was able to install everything successfully (with no issues related to libssl), but I encountered the following errors during the make package step:

 build Text/build/irods_rule_engine_plugin_python/src/types/irods/getRodsEnv.cpp:86:86: error: no member named 'irodsPluginDirectory' in 'RodsEnvironment'

  .add_property("irodsPluginDirectory", +[](rodsEnv *s) { return array_ref<char>{s->irodsPluginDirectory}; })                        ~  ^

/build/irods_rule_engine_plugin_python/src/types/irods/getRodsEnv.cpp:86:42: error: invalid argument type '(lambda at /build/irods_rule_engine_plugin_python/src/types/irods/getRodsEnv.cpp:86:43)' to unary expression

  .add_property("irodsPluginDirectory", +[](rodsEnv *s) { return array_ref<char>{s->irodsPluginDirectory}; })

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/build/irods_rule_engine_plugin_python/src/types/irods/getRodsEnv.cpp:57:16: error: no member named 'irodsPluginDirectory' in 'RodsEnvironment'

  &rodsEnv::irodsPluginDirectory,Expand (13 lines)

Could you help me troubleshoot this build issue? Any guidance or suggestions on resolving the compilation problem would be greatly appreciated.

Thank you in advance for your support.

Laura Lo Gerfo

Kory Draughn

unread,
May 16, 2025, 12:49:59 PMMay 16
to irod...@googlegroups.com
Hi Laura,

It appears you're compiling the wrong version of the Python REP.

You need to checkout the correct git tag for 4.3.3. For your specific case, that would be the 4.3.3.0 tag.


Hope that helps.

Kory Draughn
Chief Technologist
iRODS Consortium


--
--
The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
 
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/5a38fdc8-09da-423a-a3b4-f7f093535b43n%40googlegroups.com.

Laura Lo Gerfo

unread,
May 18, 2025, 2:20:06 PMMay 18
to iRODS-Chat

Hi Kory,

Thank you very much for your quick and helpful response.

I followed your suggestion and checked out the 4.3.3.0 tag — and it seems to be working now. I was able to successfully compile the Python Rule Engine Plugin.

I really appreciate your support.

I also have a couple of follow-up questions:

  1. Do you plan to provide precompiled binaries for the Python Rule Engine Plugin in the future? That would certainly help streamline the installation process.

  2. Regarding the issues I encountered on Ubuntu 24.04, particularly the missing libssl1.1 dependency: is this a known compatibility issue, or was it likely due to something I did wrong in my setup?

Thanks again for your assistance.

Terrell Russell

unread,
May 18, 2025, 3:31:29 PMMay 18
to irod...@googlegroups.com
Hi Laura,

Yes, the Consortium provides built binary packages at
https://packages.irods.org for both apt and yum/dnf.

The build process is pretty specific - so we can help you debug your
build system if you want, but you can also have a look at the
development environment...

https://github.com/irods/irods_development_environment

Terrell
> To view this discussion visit https://groups.google.com/d/msgid/irod-chat/b27bfe92-fecd-4f9c-b26b-bad125278425n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages