Project

General

Profile

CentOS 6.4 Install Documents

Added by Jeff Flesher about 11 years ago

I see http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_CentOS5 CentOS 5 install notes,

but my thoughts are to use EPEL Repo, for many reasons I would rather run from a repo, unless there is a better way of doing updates, like a cron job I can run, this is on a hosted VM server, CentOS 6.4, its a fresh install and after my failed attempt at Debian, I figured I would have a much better chance with CentOS, so I ask first, hose server second, start all over and do it again, till I get it right.

I have not looked at the repo in a while, but the instructions would looks something like this:

  1. EPEL Repo
    rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
    yum update
    yum upgrade
  2. requirements: I need some optional libraries, I have to look up package names, unless someone has a list or an install script.
    yum install gcc gcc-c autoconf automake cmake boost boost-devel libharu libharu-devel openssl
  3. what I need to deploy
    yum install wt wt-devel wt-dbo

Does anyone have Documentation on how to do this in CentOS 6 or do these look close, are there better repo's?

Thanks


Replies (6)

RE: CentOS 6.4 Install Documents - Added by Thomas Suckow about 11 years ago

If you want support for generated images you need GraphicsMagick-devel as well

Note:

Boost-Thread is currently broken on RHEL6.4: https://bugzilla.redhat.com/show_bug.cgi?id=921792

I have not tried to compile Wt with the system boost, but my guess is that it would fail.

Update: CentOS 6.4 Install Documents - Added by Jeff Flesher about 11 years ago

Update: This seems to install fine, this is what version I got: wt.x86_64 0:3.2.2-6.p1.el6

This just works, ran the hello app with no problem, compiled it with no problem, works great, which is more then I can say about Debian, even though I'm a huge fan, I will stick with what works for now.

So I can say that the below install on CentOS 6 works great.

# Wt CentOS 6 repo Installation
# Requirements
yum install gcc gcc-c++ autoconf automake cmake boost boost-devel openssl pango pango-devel sqlite zlib glibc nano
# Extra Development Tools
yum groupinstall "Development Tools"
#
# Haru for PDF support from Repo remi
rpm -Uvh http://rpms.famillecollet.com/enterprise/6/remi/x86_64/remi-release-6-2.el6.remi.noarch.rpm
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
yum update
yum --enablerepo=remi install libharu libharu-devel
#
# EPEL Repository: http://fedoraproject.org/wiki/EPEL/FAQ
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm --import https://fedoraproject.org/static/0608B895.txt
rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
yum update; yum upgrade -y
#
# Wt and Dependencies
yum install wt wt-devel wt-dbo wt-dbo-postgres wt-examples GraphicsMagick jasper-libs fcgi lcms-libs libICE libSM libwmf-lite urw-fonts 

RE: CentOS 6.4 Install Documents - Added by Jeff Flesher about 11 years ago

Thanks Thomas, I added GraphicsMagick-devel, didn't see your post till after I posted this.

# Wt CentOS 6 repo Installation
# Requirements
yum install gcc gcc-c++ autoconf automake cmake boost boost-devel openssl pango pango-devel sqlite zlib glibc nano
# Extra Development Tools
yum groupinstall "Development Tools"
#
# Haru for PDF support from Repo remi
rpm -Uvh http://rpms.famillecollet.com/enterprise/6/remi/x86_64/remi-release-6-2.el6.remi.noarch.rpm
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
yum update
yum --enablerepo=remi install libharu libharu-devel
#
# EPEL Repository: http://fedoraproject.org/wiki/EPEL/FAQ
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm --import https://fedoraproject.org/static/0608B895.txt
rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
yum update; yum upgrade -y
#
# Wt and Dependencies
yum install wt wt-devel wt-dbo wt-dbo-postgres wt-examples GraphicsMagick GraphicsMagick-devel jasper-libs fcgi lcms-libs libICE libSM libwmf-lite urw-fonts 

RE: CentOS 6.4 Install Documents - Added by Thomas Suckow about 11 years ago

Actually the yum package depends on GraphicsMagick (doesn't need devel), so you need not specify those.

yum install wt wt-devel wt-dbo wt-dbo-postgres wt-examples

should honestly "just work"

RE: CentOS 6.4 Install Documents - Added by Jeff Flesher about 11 years ago

Yes, I just like to be complete, and if I need the header files I will need to install the devel anyway I would think.

Boost thread is broken in EPEL Testing also, in fact, they are the same version, which makes me wonder what is up with that, how did stable get broken, this bug should have shown up in Testing, and why isn't a newer version in Testing already...

yum ---enablerepo=epel-testing list boost

At any rate, I can live without it till they fix it, I just can not link against it or use it till then, I'm sure they are working on it, its a reported bug, so not much else to do, unless I want to compile it.

RE: CentOS 6.4 Install Documents - Added by Will Renq about 11 years ago

Jeff Flesher wrote:

Yes, I just like to be complete, and if I need the header files I will need to install the devel anyway I would think.

Boost thread is broken in EPEL Testing also, in fact, they are the same version, which makes me wonder what is up with that, how did stable get broken, this bug should have shown up in Testing, and why isn't a newer version in Testing already...

yum ---enablerepo=epel-testing list boost

At any rate, I can live without it till they fix it, I just can not link against it or use it till then, I'm sure they are working on it, its a reported bug, so not much else to do, unless I want to compile it.

Hey Jeff,

What issues did you have installing on Debian? You weren't able to work through them? I was just going to attempt a debian installation this week, is there some incompatibility?


Will

    (1-6/6)