Hi ! Please find attached an ebuild for maxdb-7.5.0.8 from sources. MaxDb is a enterprise grade DB-system that was formaly known as SAPDB and is now maintained by mysql. The goal of this ebuild is to build maxdb on gentoo from the sources and not installing the binaries. This ebuild need the ebuild maxdb-devtools-src-7.5.0.8.ebuild that i submitted earlier. Please be patient as this is my second ebuild. regards Mundi
Created attachment 26092 [details] maxdb-src-7.5.0.8.ebuild (New package)
Created attachment 26093 [details, diff] maxdb-src-7.5.0.8 (patches to Include File in maxdb to make it compile)
Created attachment 26094 [details, diff] maxdb-src-7.5.0.8 (patch to create necessary file /etc/opt/sdb)
Hi ! After doing some further testing i found out the ebuild will compile a functioning version of the db-system but there is a lot of aditional configuration to be done afterwards so it will be better to change the ebuild so that the target "all" will be built. This makes it easier for most users to get started. I will do some more testing and the will submit a version r1 in the next days. regards Hermann
Created attachment 26772 [details] maxdb-src-7.5.0.8-r1.ebuild (new version) 1.) changed the source to the original sap ftp-site. 2.) changed the ebuild to build the target all 3.) included the sources for python version 1.5.2 that is necessary to build the python modules. the python version 1.5.2 will not be installed on the computer. 4.) did some minor changes regarding file system rigths, etc. I managed to install a full functionig installation of maxdb on my system with this script
Created attachment 27723 [details] MaxDB Startup script
Created attachment 27724 [details] MaxDB server configuration file
Created attachment 32120 [details] maxdb-src-7.5.0.12.ebuild (new version) This ist the actual version of maxdb. As always - this ebuild is to be used for a new installation, do not upgrade! Backup your existing data and use the normal maxdb backup/recover procedure to migrate your data !!!
Created attachment 32121 [details] maxdb-src-7.5.0.12 (patches to make maxdb compile)
Created attachment 32122 [details] maxdb-src-7.5.0.12 (patch to create necessary file /etc/opt/sdb)
it works for me... why don't add to ~x86 ? the only thing it maybe useful is to stop if it is an upgrade and not first time installation. then tell the user to backup his data before upgrade and restart the ebuild with and enviroment variable as MAXDB_UPGRADE="yes" emerge -u maxdb-src.... so it can stop automatic upgrade of maxdb with emerge -u world maybe useful for data integrity between upgrade.. we can do that, maxdb isn't a so active project that release eary, release often... :-D
Just a thought: the MaxDB installer is a rather difficult thing, it does lots of things. I don't think you will be able to keep up with the development of the installer and imitate it within the ebuild. Have you actually thought about building the packages and the installer and afterwards calling the installer? I think that should be a lot easier. The imf target for the packages is "imf createPackages" - this tries to build an installer and create the packages. There is also a "BuildPackage" tool within the tools that creates the packages only, "imf srvinst" builds the installer only. The question is whether the sources for the installer are within the distribution. If not it will probably be possible to ask the people at SAP about that - otherwise one might just build packages and download a binary installer from somewhere. You could ask about that on the mailing list, the developers are generally quite helpful about such things. The installer itself should be transactional, i.e. it does a lot of checking on the installation to determine whether an update will work. So calling the installer outside the sandbox shouldn't be too bad. It also warns people on dangerous updates to backup data etc. Anyways I would strongly advise against imitating the installers behaviour. This might change in future versions and it's not really trivial.
Hi Martin ! Thanks for the sugestion. I will think about it and maybe give it a try. But to be serious for me ist is not too complicated to maintain the build process as ist is now as i am quite familiar with the installer proccess. But the reason why i am seriously thinking about following your sugestion is that this might provide a way to install in update mode. On the other hand i have to state that i am not a friend of the update scenario at all. Most of the install problems that we have to deal with on the developers-list come from updates. I still strongly advise everybody to do a backup, install, recover scenario when updating the db-system. regards mundi (the 7.5.0.14 version that is ready from my side but has bugs from the SAP Labs side will definitly functioning in the current way)
Created attachment 33879 [details] maxdb-src-7.5.0.14.ebuild (new version)
Created attachment 33880 [details, diff] maxdb-source-7_5_0_14_all.patch (patches to make maxdb compile)
Created attachment 33881 [details, diff] maxdb-source-7_5_0_14_etc.patch (patch to create necessary file /etc/opt/sdb)
Created attachment 45566 [details] maxdb-src-7.5.0.18.ebuild (new version) This is the ebuild to build version 7.5.0.18 of maxdb from sources. It does not work totaly automatic but needs some user interaction (see README-7.5.0.18) for installation instructions. I have sucessfully build maxdb with this ebuilds on a 2004.2 type and a 1.4 type installation. regards mundi
Created attachment 45567 [details, diff] maxdb-source-7_5_0_18_all.patch (patch for compilation with gcc > 3.2) needed patch for maxdb-src-7.5.0.18.ebuild. place in files directory.
Created attachment 45568 [details, diff] maxdb-source-7_5_0_18_ini.patch (creates ini files for web administration) needed patch for maxdb-src-7.5.0.18.ebuild. place in files directory.
Created attachment 45569 [details] README-7.5.0.18 (Installation instructions for maxdb 7.5.0.18) Read this ! regards Mundi
Created attachment 48474 [details] maxdb-src-7.5.0.23.ebuild (new ebuild)
Created attachment 48475 [details, diff] maxdb-source-7_5_0_23_all.patch (new patch)
Created attachment 48476 [details, diff] maxdb-source-7_5_0_23_ini.patch (new patch)
Created attachment 48477 [details, diff] maxdb-source-7_5_0_23_ini.patch (new patch)
Created attachment 48479 [details] README-7.5.0.23 (Installation instructions for maxdb 7.5.0.23)
Hi, how about an ebuild for DBD::MaxDB? Well, i've got one spare ;-) but it needs SQLDBC installed somewhere. Where do these ebuilds install the SQLDBC sdk to?
Created attachment 49725 [details] maxdb-src-7.5.0.23-r1.ebuild (new ebuild) fixed bug regarding the dependency to maxdb-devtools-src (thanx gulei)
For an ebuild for DBD::MaxDB, go to Bug 81321. I provide an ebuild there.
Created attachment 56234 [details] maxdb-src-7.5.0.24.ebuild (new ebuild)
Created attachment 56235 [details, diff] maxdb-source-7_5_0_24_all.patch (new patch)
Created attachment 56236 [details, diff] maxdb-source-7_5_0_24_ini.patch (new patch)
Created attachment 56237 [details] README-7.5.0.24 (Installation instructions for maxdb 7.5.0.24)
Hi, the URLs for the packages have changed. They have been moved to the archives section. Here they are: http://downloads.mysql.com/archives/maxdb/7.5.00.24/maxdb-buildtools-source-533920.tgz http://downloads.mysql.com/archives/maxdb/7.5.00.24/maxdb-source-7_5_00_24.tgz Cya, Mark
Created attachment 66328 [details] maxdb-src-7.6.0.12.ebuild (new ebuild) The new version 7.6.0.12 of maxdb.
Created attachment 66329 [details, diff] maxdb-source-7_6_0_12_ini.patch (new patch) patch needed to install maxdb 7.6.0.12 from sources.
Created attachment 66330 [details] README-7.6.0.12 (Installation instructions for maxdb 7.6.0.12) Installation instructions for maxdb 7.6.0.12
Hi The current ebuild fails with me due to sandbox issues: !echo app/syncman/example/createexampledatabases >> $WRK/fast/install/packages/syncman/ syncman.lst 04-10-05 21:55:20 end of all.mac fast --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-db_-_maxdb-src-7.6.0.12-26966.log" mkdir: /root/.sdb mkdir: /root/.sdb mkdir: /root/.sdb --------------------------------------------------------------------------------
(In addition to comment #37) # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Xeon(TM) CPU 3.06GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/tomcat/webapps/ROOT /usr/kde/2/share/config /usr/kde/3.4/env /usr/ kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config / usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ / usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/www/localhost/htdocs/ moinmoin" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distcc distlocks emergemail fixpackages nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/ gentoo" LANG="de_CH.UTF-8" LC_ALL="de_CH.UTF-8" LINGUAS="de" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.i-no.de/gentoo-portage" USE="x86 apache2 apm avi bash-completion berkdb bitmap-fonts crypt cups curl doc eds emacs emboss encode fam foomaticdb fortran gcj gd gdbm gif gpm gstreamer gtk2 imagemagick imap imlib java jpeg junit latex ldap libg++ libwww lm_sensors mad maildir mikmod mmx motif mp3 mpeg mssql mysql nagios- dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl oav odbc ogg oggvorbis pam pdflib perl png postgres python quicktime readline rss samba sasl sdl slang snmp spell sqlite sse ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts usb virus-scan vorbis winbind xml xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
I played with the FEATURES variable (initially stripping the sfpers strict and sandbox, later with FEATURES="") w/o success. However, manually creating /root/.sdb before an emerge helped. I've been able to install maxdb.
Has anybody played with 7.6.0.16 yet?
Created attachment 76380 [details] maxdb-src-7.6.0.16-r1.ebuild (new ebuild) New ebuild for maxdb ! this ebuild is meant to be used with gcc >= 3.4.4. It has been tested on x86 platform with NPTL support.
Created attachment 76381 [details, diff] maxdb-source-7_6_0_16_ini.patch (used by maxdb-src-7.6.0.16-r1.ebuild)
Created attachment 76382 [details, diff] maxdb-source-7_6_0_16-r1_all.patch (used by maxdb-src-7.6.0.16-r1.ebuild)
Created attachment 76383 [details] README-7.6.0.16-r1_forum.txt (Installation instruction for maxdb-src) see also http://forums.gentoo.org/viewtopic-p-2661831.html#2661831
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accomendate you on a timely manor. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
mysql team is not interested, dropping from cc