You are not logged in.

#1 2011-03-16 01:37:08

ptchinster
Member
Registered: 2008-12-27
Posts: 47

"Ignoring" python 3

I am trying to build an svn version of a package that needs python2. I have both python and python2 installed on my system, and during the make process it fails to build. Just for kicks i removed the python package and it builds successfully. Obviously this is not an optimal solution. I need to either 1.) "Ignore" the python binary or 2.) Alter the Makefiles during the build. I have tried doing a global s/python/python2/g before the make process but the make process generates further makefiles that contain "python" and fail to build.

Any suggestions?

Offline

#2 2011-03-16 01:40:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,652
Website

Re: "Ignoring" python 3

you can probably do "PYTHON=python2 ./configure"

Offline

#3 2011-03-16 02:59:06

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: "Ignoring" python 3

Allan wrote:

you can probably do "PYTHON=python2 ./configure"

Depending on the project of course smile. For some projects with active upstream you could just ask the devs what the best way to handle this would be.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2011-03-16 03:11:56

ptchinster
Member
Registered: 2008-12-27
Posts: 47

Re: "Ignoring" python 3

Nope, doesn't work. Nor does anything else ive tried. :-(

Its wireshark-svn btw.

Offline

#5 2011-03-16 03:54:50

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: "Ignoring" python 3

You'll probably need to spend the time to search deeper into what is going on. You say make creates files hard-linking to python? Perhaps at some point you can sed those files (or edit the makefiles which generate them).

Check out how I did it in samba4 (its VERY messy and trial-and-error, but upstream couldn't help me with it so I just took whatever worked).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2011-03-16 03:57:37

ptchinster
Member
Registered: 2008-12-27
Posts: 47

Re: "Ignoring" python 3

I actually laughed opening up samba4's PKGBUILD lol

Offline

#7 2011-03-16 04:46:05

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: "Ignoring" python 3

Probably at the 'bad samba' line? That's not mine, its copied wholesale from the samba PKGBUILD in the repos smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB