LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-29-2021, 05:13 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Install CentOS 7 packages in CentOS 8 ?


gnome-commander relies on some obsolete, depreciated packages such as gnome-vfs. The maintainer is actively working on upgrading out of this situation but apparently there is a LOT to do. gnome-commander can not be built on Ubuntu 20.04 nor Mint 20 as gnome-vfs and a few other bits are not available in the Upuntu 20.04 vintage repos. Except it can. It is a simple matter of adding the 18.04 Universe repo to bring in the necessary packages.

Arch/Manjaro via the AUR repo will build the required supporting packages from scratch as needed. How exactly I do not know but it works like magic!

Which brings me to the CentOS et.al. family. gnome-commander will build on CentOS 7. I do not believe CentOS 8 has the necessary packages to built gnome-commander. It has been a while since I tried. I am downloading a CentOS 8 image as I type this - and will be downloading after I have finished typing this

My question is... can I install packages such as gnome-vfs2-devel from the CentOS 7 vintage repos (epel I think) into CentOS 8? I think the answer is no as the package name has the OS version. e.g. gnome-vfs2-devel-2.24.4-14.el7.x86_64.rpm

Can I build CentOS 8 packages from CentOS 7 source?

TIA,

Ken
 
Old 01-30-2021, 09:56 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by taylorkh View Post
Arch/Manjaro via the AUR repo will build the required supporting packages from scratch as needed.
This is not true.
All gnome-commander dependencies are from official Arch repos.
It does not depend on gvfs or gnome-vfs at all.
I suggest you grab the latest source release and build it yourself.
 
Old 01-30-2021, 12:48 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks ondoho,

I am familiar with building GCDR from source. I wrote the instructions which are on the web site for CentOS 7 and Debian, Ubuntu and Mint. When I first installed it on Manjaro - that was my first experience with that distro. I don't recall if I tried building it by downloading the source manually. I did succeed in building it by pamac builg gnome-commander. This mirrored the git repo and went from there. I do recall having to build gnome-vfs as well. I am in the process of setting up a virtual machine to try it again from the beginning. I build a VMWare install FOUR times before getting the screen autosizing to work. It seems that VMWare does not like a virtual machine named "test". 4th try, same steps and options named vmManjaroTest and it works fine. Let me download a train load of updates and I will see if I can remember how I built GCDR before.

That experiment aside, my goal is to figure out how to setup a development environment to build GCDR on CantOS 8.

Ken

Update: The screen sizing issue in VMWare is apparently a known issue going back some while. Why my original virtual machine works - I have no idea. I do have a couple of workarounds which I will investigate. Back to gnome-commander
Code:
[ken@vmManjaroTest Desktop]$ sudo pacman -S gnome-commander
[sudo] password for ken: 
error: target not found: gnome-commander

[ken@vmManjaroTest Desktop]$ pamac build gnome-commander
Preparing...
Cloning gnome-commander build files...
Checking gnome-commander dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (23):
  m4                1.4.18-3                                   core   173.4*kB
  autoconf          2.69-7                                     core   605.4*kB
  libmicrohttpd     0.9.72-1   (Required By: binutils)         core   210.4*kB
  elfutils          0.182-1    (Required By: binutils)         core   635.4*kB
  binutils          2.35.1-1                                   core   5.6*MB
  pkgconf           1.7.3-1                                    core   59.6*kB
  libmpc            1.2.1-1    (Required By: gcc)              core   72.1*kB
  gcc               10.2.0-4                                   core   33.1*MB
  fakeroot          1.25.3-1                                   core   71.9*kB
  flex              2.6.4-3                                    core   304.4*kB
  automake          1.16.2-3                                   core   617.9*kB
  bison             3.7.2-1                                    core   771.8*kB
  patch             2.7.6-8                                    core   94.7*kB
  gc                8.0.4-4    (Required By: make)             extra  240.3*kB
  guile             2.2.6-2    (Required By: make)             extra  6.7*MB
  make              4.3-3                                      core   493.2*kB
  libgsf            1.14.47-1  (Required By: gnome-commander)  extra  327.8*kB
  exiv2             0.27.3-1   (Required By: gnome-commander)  extra  2.1*MB
  python2           2.7.18-2   (Required By: gnome-commander)  extra  14.5*MB
  itstool           1:2.0.6-2  (Required By: gnome-commander)  extra  19.9*kB
  mallard-ducktype  1.0.2-6    (Required By: gnome-commander)  extra  81.9*kB
  yelp-tools        3.38.0-1   (Required By: gnome-commander)  extra  23.5*kB
  libunique         1.1.6-8    (Required By: gnome-commander)  extra  32.2*kB
To build (1):
  gnome-commander   1.10.3-1                                   AUR

Total download size: 66.8*MB
Total installed size: 343.1*MB

Edit build files : [e] 
Apply transaction ? [e/y/N]
After running the transaction I observed that a bunch of packages were downloaded and installed. The gnome-commander source was downloaded, unpacked and the build process started. It ended up with this message
Code:
...
checking for GTK... yes
checking for GNOMEVFS... no
configure: error: gnome-vfs >= 2.0.0 not found
==> ERROR: A failure occurred in build().
    Aborting...
I then ran
Code:
[ken@vmManjaroTest Desktop]$ pamac build gnome-vfs
This it did and then I was able to build of gnome-commander.

Last edited by taylorkh; 01-30-2021 at 03:10 PM.
 
Old 01-31-2021, 02:01 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
You are right.
I just tried, it needs gnome-vfs which isn't listed as a dependency. The last maintainer even commented on that.
I flagged the gnome-commander AUR package as out of date now - because until someone takes over and fixes that, it is.
 
Old 01-31-2021, 06:04 AM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
I flagged the gnome-commander AUR package as out of date now - because until someone takes over and fixes that, it is.
I am not familiar with the workings of AUR other than to the degree that I have installed several packages on Manjaro from that repo. With the package "out of date" is it still available for use? And "fixes that" - fixes what? I know that the gnome-commander maintainer is working on removing the gnome-vfs dependencies but they are deeply rooted in the program. As far as maintaining the AUR package - it was recently updated for gnome-commander 1.10.3.

Thanks again,

Ken
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to install group packages in the list of the installed group packages at once chid9202 Linux - General 1 03-17-2015 09:13 PM
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration