Note too as (I discovered many months ago)  mmbuildgpl make a false assumption about if it can build rpm's or not.
 
if [[ -f /etc/debian_version || "$(/usr/bin/lsb_release -is 2>/dev/null)" = Ubuntu ]]
then
  isDebian=1
fi
 
then a bit later
  --buildrpm | --build-package )
      [[ $optName_lc = "--buildrpm" &&$isDebian -eq 1 ]] && syntaxError "help" $usageMsg
 
 
ie. it bails out with an error if /etc/debian_version exists at all, instead of aborting only if the rpm package is not installed. (!)
By editing this script I could build the gpfs.gpl as an rpm even if / etc/debian_version  exists as was my case (since it *was* a Debain system).
 
 
Daniel
/spectrum_storage-banne

 
Spectrum Scale Logo
 
 
Dr Daniel Kidger
IBM Technical Sales Specialist
Software Defined Solution Sales

+
44-07818 522 266
[email protected]
 
 

 
 
 
----- Original message -----
From: Laurence Horrocks-Barlow <[email protected]>
Sent by: [email protected]
To: gpfsug main discussion list <[email protected]>, Scott Fadden <[email protected]>, "Simon Thompson (Research Computing - IT Services)" <[email protected]>
Cc: "'gpfsug main discussion list'" <[email protected]>
Subject: Re: [gpfsug-discuss] Building portability layer fails
Date: Sat, May 28, 2016 9:37 AM
 
Yes it does.

But you still have to export LINUX_DISTRIBUTION=REDHAT_AS_LINUX  before the command.

i.e.
LINUX_DISTRIBUTION=REDHAT_AS_LINUX  mmbuildgpl

-- Lauz
 
On 28 May 2016 01:47:05 BST, Scott Fadden <[email protected]> wrote:
It should

Sent from IBM Verse

 
Simon Thompson (Research Computing - IT Services) --- RE: Re: [gpfsug-discuss] Building portability layer fails ---
 
From: "Simon Thompson (Research Computing - IT Services)" <[email protected]>
To: "'gpfsug main discussion list'& quot; <[email protected]>, "Scott Fadden" <[email protected]>
Date: Fri, May 27, 2016 14:45
Subject: RE: Re: [gpfsug-discuss] Building portability layer fails

Does mmbuildgpl work if its a RHEL clone like CentOS?

Simon

-----Original Message-----
From: Scott Fadden [[email protected]]
Sent: Friday, May 27, 2016 09:36 PM GMT Standard Time
To: gpfsug main discussion list
Subject: Re: [gpfsug-discuss] Building portability layer fails

On 4.2.0.3 run mmbuildgpl. See how that goes.


Scott Fadden
Spectrum Scale - Technical Marketing
Phone: (503) 880-5833  
[email protected]

http://www.ibm.com/systems/storage/spectrum/scale



From:        "Buterbaugh, Kevin L" <[email protected]>
To:        gpfsug main discussion list <[email protected]>
Date: &n bsp;      05/27/2016 01:23 PM
Subject:        [gpfsug-discuss] Building portability layer fails
Sent by:        [email protected]



All,

We’re upgrading our cluster from GPFS 4.1.0.8 to GPFS 4.2.0.3 and all is going very well … except for my tape backup server.

I’ve run the Spectrum Scale installer and installed the rpm’s in /usr/lpp/mmfs/4.2.0.3/gpfs_rpms, but when I run:

make LINUX_DISTRIBUTION=REDHAT_AS_LINUX Autoconfig

it errors with:

make[3]: *** [/usr/lpp/mmfs/src/gpl-linux/kdump-kern.o] Error 1
make[2]: *** [_module_/usr/lpp/mmfs/src/gpl-linux] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.32-573.el6.x86_64'
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/lpp/mmfs/src/gpl-linux'
make: *** [Modules] Error 1

Any ideas?  Thanks in advance…


Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
[email protected]- (615)875-9633


_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org

http://gpfsug.org/mailman/listinfo/gpfsug-discuss



 

 


gpfsug-discuss mailing listgpfsug-discuss at spectrumscale.orghttp://gpfsug.org/mailman/listinfo/gpfsug-discuss

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to