Skip to content
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

suse requirements file references opensuse pattern files and packages #1991

Closed
p-wilson opened this issue Jun 28, 2013 · 10 comments
Closed

suse requirements file references opensuse pattern files and packages #1991

p-wilson opened this issue Jun 28, 2013 · 10 comments
Assignees
Milestone

Comments

@p-wilson
Copy link

Installed rvm V1.21.2 from source on sles11sp2. Could not install any rubies with autolibs active and discovered requirements file for suse references OPENSUSE named packages and patterns files. Requirements file for suse should reference SLES named packages and pattern files.

@mpapis
Copy link
Member

mpapis commented Jun 28, 2013

the only thing I can see in there that would conflict is patterns-openSUSE-devel_basis => https://github.com/wayneeseguin/rvm/blob/master/scripts/functions/requirements/opensuse#L41 - anything else?

@mpapis
Copy link
Member

mpapis commented Jun 28, 2013

please test after rvm get head

@ghost ghost assigned mpapis Jun 28, 2013
@p-wilson
Copy link
Author

The package 'libyaml-devel' is also an openSUSE package and not available on SLES under that name

Paul Wilson
Systems Administrator

The NetCircle
Loft 7-14, Creative Center, 751 Yi Chang Lu, Shanghai.
Tel: +86 (0)21-51752778 | www.thenetcircle.com
U.S. Mobile: +1 (815) 883-4012

----- Original Message -----

From: "Michal Papis" notifications@github.com
To: "wayneeseguin/rvm" rvm@noreply.github.com
Cc: "p-wilson" paul@thenetcircle.com
Sent: Friday, June 28, 2013 8:22:20 AM
Subject: Re: [rvm] suse requirements file references opensuse pattern files and packages (#1991)

the only thing I can see in there that would conflict is patterns-openSUSE-devel_basis => https://github.com/wayneeseguin/rvm/blob/master/scripts/functions/requirements/opensuse#L41 - anything else?

Reply to this email directly or view it on GitHub .

@mpapis
Copy link
Member

mpapis commented Jun 28, 2013

libyaml-devel is very important package (base of rubygems), any way to get it installed on sles11sp2?

@p-wilson
Copy link
Author

I suspect the openSUSE package may install on SLES but I didn't pursue that method. I don't have a virgin sles11sp2 available to test it on. Instead I built new packages using the openSUSE src rpm and installed those packages.

Paul Wilson
Systems Administrator

The NetCircle
Loft 7-14, Creative Center, 751 Yi Chang Lu, Shanghai.
Tel: +86 (0)21-51752778 | www.thenetcircle.com
U.S. Mobile: +1 (815) 883-4012

----- Original Message -----

From: "Michal Papis" notifications@github.com
To: "wayneeseguin/rvm" rvm@noreply.github.com
Cc: "p-wilson" paul@thenetcircle.com
Sent: Friday, June 28, 2013 9:35:10 AM
Subject: Re: [rvm] suse requirements file references opensuse pattern files and packages (#1991)

libyaml-devel is very important package (base of rubygems ), any way to get it installed on sles11sp2 ?

Reply to this email directly or view it on GitHub .

@mpapis
Copy link
Member

mpapis commented Jun 28, 2013

please test again after rvm get head

@p-wilson
Copy link
Author

Hi Michal,

Sorry about the delay and lateness or the reply but I found a fairly pristine sles11sp2 virtual machine to use for this test. It had only a basic server environment installed. All commands were run as root.

After the initial RVM install, I sourced /etc/profile and checked the rvm requirements:

~ # source /etc/profile 
~ # rvm requirements 
Installing requirements for suse, might require sudo password. 
/usr/local/rvm/scripts/functions/pkg: line 6: pkg-config: command not found 
Repository 'Repository' is up to date. 
Repository 'Repository' is up to date. 
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is up to date. 
Repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11-SP2 11.2.2-1.66' is up to date. 
All repositories have been refreshed. . 
/usr/local/rvm/scripts/functions/pkg: line 23: install_yaml: command not found 

Looks like it needs pkg-config so I install it and try again:

~ # yast -i pkg-config 
~ # rvm requirements 
Installing requirements for suse, might require sudo password. 
Repository 'Repository' is up to date. 
Repository 'Repository' is up to date. 
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is up to date. 
Repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11-SP2 11.2.2-1.66' is up to date. 
All repositories have been refreshed. 
/usr/local/rvm/scripts/functions/pkg: line 23: install_yaml: command not found 

libyaml-devel is not installed so I build libyaml-0-2 and libyaml-devel packages from openSUSE's src.rpm and install them:

~ # rpm -i libyaml-0-2-0.1.4-1.2.x86_64.rpm libyaml-devel-0.1.4-1.2.x86_64.rpm 
~ # rvm requirements 
Installing requirements for suse, might require sudo password. 
Repository 'Repository' is up to date. 
Repository 'Repository' is up to date. 
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is up to date. 
Repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11-SP2 11.2.2-1.66' is up to date. 
All repositories have been refreshed. 
Installing required packages: automake, bison, flex, gcc, gcc-c++, makeinfo, gdbm-devel, glibc-devel, libffi-devel, libopenssl-devel, libxml2-devel, libxslt-devel, readline-devel, zlib-devel.............. 
Error running 'requirements_opensuse_libs_install automake bison flex gcc gcc-c++ makeinfo gdbm-devel glibc-devel libffi-devel libopenssl-devel libxml2-devel libxslt-devel readline-devel zlib-devel', 
please read /usr/local/rvm/log/1372450634_package_install_automake_bison_flex_gcc_gcc-c++_makeinfo_gdbm-devel_glibc-devel_libffi-devel_libopenssl-devel_libxml2-devel_libxslt-devel_readline-devel_zlib-devel. 

SLES distribution does not have makeinfo but I did successfully install the others manually. Autolibs failed because of the missing makeinfo package.

~ # yast -i automake bison flex gcc gcc-c++ gdbm-devel glibc-devel libffi-devel libopenssl-devel libxml2-devel libxslt-devel readline-devel zlib-devel 
~ # rvm requirements 
Installing requirements for suse, might require sudo password. 
Repository 'Repository' is up to date. 
Repository 'Repository' is up to date. 
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is up to date. 
Repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11-SP2 11.2.2-1.66' is up to date. 
All repositories have been refreshed. 
Installing required packages: makeinfo..... 
Error running 'requirements_opensuse_libs_install makeinfo', 
please read /usr/local/rvm/log/1372461292_package_install_makeinfo.log 

The remaining options are to find and install the makeinfo package (as I did with the libyaml-devel package,) or set the autolibs flag to 'disable' or 'read.'

Paul Wilson
Systems Administrator

The NetCircle
Loft 7-14, Creative Center, 751 Yi Chang Lu, Shanghai.
Tel: +86 (0)21-51752778 | www.thenetcircle.com
U.S. Mobile: +1 (815) 883-4012

----- Original Message -----

From: "Michal Papis" notifications@github.com
To: "wayneeseguin/rvm" rvm@noreply.github.com
Cc: "p-wilson" paul@thenetcircle.com
Sent: Friday, June 28, 2013 2:28:26 PM
Subject: Re: [rvm] suse requirements file references opensuse pattern files and packages (#1991)

please test again after rvm get head

Reply to this email directly or view it on GitHub .

@mpapis
Copy link
Member

mpapis commented Jun 29, 2013

please test again after rvm get head

@p-wilson
Copy link
Author

Okay, I pull the current head and the halt caused by the missing makeinfo package is gone now.

Paul Wilson

Systems Administrator

The NetCircle
Loft 7-14, Creative Center, 751 Yi Chang Lu, Shanghai.
Tel: +86 (0)21-51752778 | www.thenetcircle.com
U.S. Mobile: +1 (815) 883-4012

----- Original Message -----

From: "Michal Papis" notifications@github.com
To: "wayneeseguin/rvm" rvm@noreply.github.com
Cc: "p-wilson" paul@thenetcircle.com
Sent: Friday, June 28, 2013 7:58:56 PM
Subject: Re: [rvm] suse requirements file references opensuse pattern files and packages (#1991)

please test again after rvm get head

Reply to this email directly or view it on GitHub .

@mpapis
Copy link
Member

mpapis commented Jun 29, 2013

looks like all the problems are fixed - closing, let me know if there is anything more to fix/do.

@mpapis mpapis closed this as completed Jun 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants