From: Kevin Carhart <kevin@carhart.net>
To: Adam Thompson <arthompson1990@gmail.com>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] about compiling 3.5.1
Date: Thu, 26 Jun 2014 02:53:10 -0700 (PDT) [thread overview]
Message-ID: <alpine.LRH.2.03.1406260209090.9970@carhart.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1406251608210.32512@carhart.net>
Hi Adam and list,
All right, I actually got 3.5.1 to compile on my 32-bit centos after all!
Thank you for the nudge or I may have given up.
I took some notes as I was doing it which may help others.
I had some repo issues but I found they were a moot point because mozjs
requires at least python 2.7, and the packages only go to 2.6. I had a
dependencies conflict but it turned out to be moot.
Then, I was lucky and found a stack overflow thread and shell script that
someone wrote to download and install python 2.7 on centos 5.
Here it is:
https://gist.github.com/timss/5122008
The shell script worked great. Thank you timss. The shell script took
care of installing the upgraded Python to an alternate path using 'make
altinstall' so that it wouldn't interfere with system Python which a lot
of already installed programs rely on.
So FYI, when I do a 'python -V' on this 32-bit Centos, it still tells me
Python 2.4.3
But if I ask for
/usr/local/bin/python2.7 -V
It tells me
Python 2.7.3
And just installing was enough for the configure script. Configure picked
up Python 2.7.3 and I didn't need to export it or anything.
Then I still had issues with the mozjs configure script wanting gcc 4.4.
I installed gcc 4.4 and g++ 4.4 with yum and then needed to export:
export CC="/usr/bin/gcc44"
export CXX="/usr/bin/g++44"
At this point, configure worked.
At this point, make succeeded - it took an hour. Wow!
Ran make install.
Then I ran ldconfig. I'm not sure if I needed to.
I added -lncurses to the edbrowse makefile
Then I used this line:
make JS_CXXFLAGS=-I/usr/local/include/mozjs-24 JSLIB=-lmozjs-24 edbrowse
Edbrowse 3.5.1 compiled!
Then I still needed to upgrade libcurl. No newer package for CentOS so I
compiled libcurl and then used a symbolic link to get edbrowse to pick it
up.
Success!
thanks for the help,
Kevin
On Wed, 25 Jun 2014, Kevin Carhart wrote:
>
> Hi Adam
>
> carhart.net python: 2.6.8
> crispi-gosh.org python: 2.4.3
> baby-debian's python: 2.7.3
>
> Ok, I was going to write you a verbose thing but let me put it on hold
> because I must have a yum problem or not have the right repos. When I go to
> crispi-gosh and run 'yum update python', it doesn't find anything newer than
> 2.4.3 to update to. Yet carhart and crispi are very similar CentOSes, and
> my brother has got 2.6.8, so why can't I have it too.. I must have screwed
> up my repos.d, which is not a problem that other edbrowse installors are
> likely to face assuming they don't go and break things for fun, so let me go
> deal with yum, try again and maybe I will get substantially further once I
> have the latest python.
>
> thanks
> Kevin
>
> _______________________________________________
> Edbrowse-dev mailing list
> Edbrowse-dev@lists.the-brannons.com
> http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
>
--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists
next prev parent reply other threads:[~2014-06-26 9:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 22:54 [Edbrowse-dev] jQuery Karl Dahlke
2014-05-09 0:57 ` Kevin Carhart
2014-06-21 9:43 ` [Edbrowse-dev] about compiling 3.5.1 Kevin Carhart
2014-06-21 9:58 ` Charles Hallenbeck
2014-06-21 22:15 ` Kevin Carhart
2014-06-21 23:03 ` Chris Brannon
2014-06-22 16:41 ` Adam Thompson
2014-06-22 23:39 ` Kevin Carhart
2014-06-24 14:02 ` Adam Thompson
2014-06-25 1:48 ` Kevin Carhart
2014-06-25 18:34 ` Adam Thompson
2014-06-25 23:44 ` Kevin Carhart
2014-06-26 9:53 ` Kevin Carhart [this message]
2014-06-24 14:09 Karl Dahlke
2014-06-24 18:11 ` Chris Brannon
2014-06-25 18:40 ` Adam Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.03.1406260209090.9970@carhart.net \
--to=kevin@carhart.net \
--cc=Edbrowse-dev@lists.the-brannons.com \
--cc=arthompson1990@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).