-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing from Source CentOS 7 #5
Comments
Hi @JPGlaser You will need to install development packages (-devel) to compile phobos. The configure script will give you a hint on what's missing. On Rocky Linux 9.2, I had to add at least the following devel packages to be able to compile phobos and build the rpms (with
Hope that helps! |
Hey @thiell and @SebaGougeaud , Sorry for the delay; last week was filled with holidays and I am just getting back to this. I was able to install everything above EXCEPT libpq. That is because for RHEL >7 repos, they changed the name of the package to I can find the so library in
Running
Any ideas? ~ Joe G. |
I was able to get phobos to finally compile after doing the following:
In addition, I needed to do the following to gain access to the pg_* commands:
Finally, the compile required one additional library not previously mentioned in documentation:
I have now run However, the command
Any idea folks? ~ Joe G. |
As a direct follow-up to this, I tried to build an RPM via
CentOS SCL does provide 9.5 as the lowest version (it use to have 9.4, but no longer does). However, this still breaks as it is provided as ~ Joe G. |
Regarding the missing Regarding the RPM issues, postgresql-devel is only required for the build so it should not cause any issues while installing the RPM. If you can successfully create the RPM, you should be able to install it without postgresql-devel. It seems to me that postgresql-devel has been replaced by libpq-devel. So I guess you can just remove the |
I have found more information about the RPM issue. The package On my machine, the package is in the repository appstream. So maybe you need to enable it. I have |
Gotcha; I'll focus on getting the RPM built then. I'll see what I can get done later today and update you all.
So I am on CentOS7 with this server. We don't plan on migrating it to CentOS8 or over to Rocky 8 until it reaches EoL because of its core use as a ZFS and lustre headnode server. Here is a quick search for libpq:
So it looks like libpq 15 is available. What repo are you seeing libpq-devel available from? ~ Joe G. |
Hey All,
I was recommended to give
phobos
a check as I set up to do a massive reorganization of our LTO library (both physically in our mechanical library and in our filing cabinet storage.We're currently running CentOS 7 on the machine I have our LTO Tape Library attached to, so we can't use the RPM available (as mentioned in #2 ). I'd like to get it built from source, but the documentation is a bit vague in areas.
Right now, I have run
./autogen.sh
which seemed to work nicely, followed by a./configure
which produces:That said, the machine does have
glib2
installed as well aspgsql-15
(as the distro provided pgsql is 9.2 which is under the version requirement), which is running.I will note that the
pgsql-15
library path doesn't have a pkconfig file in it, which may be a source of issue?Any ideas?
~ Joe G.
The text was updated successfully, but these errors were encountered: