basex 7.9 - red hat package?

Wednesday, 30 July 2014 · 8 messages · last reply 10 Sep 2014
OJ
Olivier JEULIN30 Jul 2014 15:13 #
Hello, when do you plan to release a package for RedHat? The repository has only v7.8. FYI, 7.9 solves a bug that we just found in 7.8, so, good work! :-)
CG
Christian Grün30 Jul 2014 16:49 #
Hi Olivier, I'll pass this one on to Dimitar, who has been so kind to provide RedHat packages in the past. Thanks for the hint! Christian
Quoted text · Olivier JEULIN · 10 lines
On Wed, Jul 30, 2014 at 3:13 PM, Olivier JEULIN <olivier.jeulin at gmail.com> wrote: > Hello, > > when do you plan to release a package for RedHat? > The repository has only v7.8. > > FYI, 7.9 solves a bug that we just found in 7.8, so, good work! :-) > >
DP
Dimitar Popov31 Jul 2014 13:03 #
Hi, BaseX 7.9 is now available for openSUSE, Fedora, RHEL and CentOS. Regrads, Dimitar
Quoted text · Christian Grün · 22 lines
On Wed, Jul 30, 2014 at 4:49 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Olivier, > > I'll pass this one on to Dimitar, who has been so kind to provide > RedHat packages in the past. > > Thanks for the hint! > Christian > > > On Wed, Jul 30, 2014 at 3:13 PM, Olivier JEULIN > <olivier.jeulin at gmail.com> wrote: > > Hello, > > > > when do you plan to release a package for RedHat? > > The repository has only v7.8. > > > > FYI, 7.9 solves a bug that we just found in 7.8, so, good work! :-) > > > > >
M
Marc30 Aug 2014 07:44 #
Hi, I don't know anything in this packaging, but when I ask to install the 7.9 package to my administrator, the result has not the same 'baseserver' shell file but a 7.8 like and not the 'lib' directory. Is it a problem of installation or packaging? Thanks Marc
Quoted text · Dimitar Popov · 33 lines
Le 31/07/2014 13:03, Dimitar Popov a écrit : > Hi, > > BaseX 7.9 is now available for openSUSE, Fedora, RHEL and CentOS. > > Regrads, > Dimitar > > > On Wed, Jul 30, 2014 at 4:49 PM, Christian Grün > <christian.gruen at gmail.com <mailto:christian.gruen at gmail.com>> wrote: > > Hi Olivier, > > I'll pass this one on to Dimitar, who has been so kind to provide > RedHat packages in the past. > > Thanks for the hint! > Christian > > > On Wed, Jul 30, 2014 at 3:13 PM, Olivier JEULIN > <olivier.jeulin at gmail.com <mailto:olivier.jeulin at gmail.com>> wrote: > > Hello, > > > > when do you plan to release a package for RedHat? > > The repository has only v7.8. > > > > FYI, 7.9 solves a bug that we just found in 7.8, so, good work! :-) > > > > > >
DP
Dimitar Popov6 Sep 2014 21:37 #
Quoted text · Marc · 7 lines
On Saturday 30 August 2014 07:44:24 Marc wrote: > Hi, > I don't know anything in this packaging, but when I ask to install the 7.9 > package to my administrator, the result has not the same 'baseserver' shell > file but a 7.8 like and not the 'lib' directory. Is it a problem of > installation or packaging? Thanks > Marc
Hi, could please provide more information. What exactly is the problem? Regards, Dimitar
M
Marc8 Sep 2014 08:52 #
Hi Dimitar, Thank for answer When I install the jar version I have a 'basexserver' script in the 'bin' directory and a 'lib' directory. But when I said to the guys who does the installation on the server with the redhat package, the 'basexserver' script isn't the same and I don't have the 'lib' directory, I don't know if it's a problem of the package or of the installation procedure. I hope that explains you a little more. Regards, Marc
Quoted text · Dimitar Popov · 16 lines
Le 06/09/2014 21:37, Dimitar Popov a écrit : > On Saturday 30 August 2014 07:44:24 Marc wrote: > > Hi, > > I don't know anything in this packaging, but when I ask to install the 7.9 > > package to my administrator, the result has not the same 'baseserver' shell > > file but a 7.8 like and not the 'lib' directory. Is it a problem of > > installation or packaging? Thanks > > Marc > > Hi, > > could please provide more information. What exactly is the problem? > > Regards, > Dimitar >
DP
Dimitar Popov9 Sep 2014 23:20 #
Quoted text · Marc · 13 lines
On Monday 08 September 2014 08:52:41 Marc wrote: > Hi Dimitar, > Thank for answer > When I install the jar version I have a 'basexserver' script in the 'bin' > directory and a 'lib' directory. But when I said to the guys who does the > installation on the server with the redhat package, the 'basexserver' > script isn't the same and I don't have the 'lib' directory, I don't know if > it's a problem of the package or of the installation procedure. > > I hope that explains you a little more. > > Regards, > Marc
Hi Mark, We must comply to certain rules, when we prepare packages for the different Linux distributions. One of these rules is that we have to install the BaseX files to perdefined directories. The redhat package will install the following files: /usr ├── bin │ ├── basex │ ├── basexclient │ ├── basexgui │ ├── basexserver │ └── basexserverstop └── share ├── applications │ └── basex.desktop ├── icons │ └── hicolor │ ├── 128x128 │ │ └── apps │ │ └── basex.png │ ├── 16x16 │ │ └── apps │ │ └── basex.png │ ├── 256x256 │ │ └── apps │ │ └── basex.png │ ├── 32x32 │ │ └── apps │ │ └── basex.png │ ├── 48x48 │ │ └── apps │ │ └── basex.png │ ├── 512x512 │ │ └── apps │ │ └── basex.png │ ├── 64x64 │ │ └── apps │ │ └── basex.png │ └── scalable │ └── apps │ └── basex.svg ├── java │ └── basex.jar └── man └── man1 ├── basex.1.gz ├── basexclient.1.gz ├── basexgui.1.gz └── basexserver.1.gz Additionally, we cannot include pre-compiled binaries in our packages - all binaries in the package must be generated from sources. This is why the lib directory is not available. This is also the reason why we don't ship basex-api (which includes the BaseX HTTP server, and bindings to different languages, and APIs) with any linux package - these features require libraries which are not always available in every linux distribution and some are even closed source (e.g. basex-xqj). The basexserver script is not the same as the one we provide with the zip archive, because it is generated with the help of JPackage. This is a standard way to generate startup scripts in different linux distributions. The advantage of using JPackage is that optional libraries will be automatically used by basex if they are installed in the system (e.g. jline for history in the basex comman-line interfaces, or tagsoup). I hope this answers your questions. I'll be happy to provide you with more information. Best regards, Dimitar
M
Marc10 Sep 2014 08:08 #
Hi Dimitar, Thank you very much for this long and very clear message. I will see a solution with the departement who installs the package and adapt it to our needs. Thanks Marc
Quoted text · Dimitar Popov · 146 lines
Le 09/09/2014 23:20, Dimitar Popov a écrit : > On Monday 08 September 2014 08:52:41 Marc wrote: > > > Hi Dimitar, > > > Thank for answer > > > When I install the jar version I have a 'basexserver' script in the 'bin' > > > directory and a 'lib' directory. But when I said to the guys who does the > > > installation on the server with the redhat package, the 'basexserver' > > > script isn't the same and I don't have the 'lib' directory, I don't > know if > > > it's a problem of the package or of the installation procedure. > > > > > > I hope that explains you a little more. > > > > > > Regards, > > > Marc > > Hi Mark, > > We must comply to certain rules, when we prepare packages for the > different Linux distributions. One of these rules is that we have to > install the BaseX files to perdefined directories. The redhat package > will install the following files: > > /usr > > ├── bin > > │ ├── basex > > │ ├── basexclient > > │ ├── basexgui > > │ ├── basexserver > > │ └── basexserverstop > > └── share > > ├── applications > > │ └── basex.desktop > > ├── icons > > │ └── hicolor > > │ ├── 128x128 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 16x16 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 256x256 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 32x32 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 48x48 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 512x512 > > │ │ └── apps > > │ │ └── basex.png > > │ ├── 64x64 > > │ │ └── apps > > │ │ └── basex.png > > │ └── scalable > > │ └── apps > > │ └── basex.svg > > ├── java > > │ └── basex.jar > > └── man > > └── man1 > > ├── basex.1.gz > > ├── basexclient.1.gz > > ├── basexgui.1.gz > > └── basexserver.1.gz > > Additionally, we cannot include pre-compiled binaries in our packages - > all binaries in the package must be generated from sources. This is why > the lib directory is not available. This is also the reason why we don't > ship basex-api (which includes the BaseX HTTP server, and bindings to > different languages, and APIs) with any linux package - these features > require libraries which are not always available in every linux > distribution and some are even closed source (e.g. basex-xqj). > > The basexserver script is not the same as the one we provide with the > zip archive, because it is generated with the help of JPackage. This is > a standard way to generate startup scripts in different linux > distributions. The advantage of using JPackage is that optional > libraries will be automatically used by basex if they are installed in > the system (e.g. jline for history in the basex comman-line interfaces, > or tagsoup). > > I hope this answers your questions. I'll be happy to provide you with > more information. > > Best regards, > > Dimitar >

⚡Generated with XQuery