Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos.buildout
Commits
a81fb3f4
Commit
a81fb3f4
authored
Aug 23, 2012
by
Domen Kožar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sqlite issue
parent
a6d36d08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Makefile
Makefile
+3
-2
No files found.
Makefile
View file @
a81fb3f4
...
@@ -25,8 +25,9 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts
...
@@ -25,8 +25,9 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts
all
:
build
all
:
build
$(PYTHON_PATH)
:
$(PYTHON_PATH)
:
sudo
apt-get
install
zlib1g-dev zlib-bin
@
echo
"Installing Python"
@
echo
"Installing Python"
# see http://mail.python.org/pipermail/python-bugs-list/2007-April/038211.html
sudo mv
/usr/include/sqlite3.h /tmp/
mkdir
-p
$(PYTHON_PATH)
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
&&
\
cd
$(PYTHON_PATH)
&&
\
curl
--progress-bar
$(PYTHON_DOWNLOAD)
|
tar
-zx
curl
--progress-bar
$(PYTHON_DOWNLOAD)
|
tar
-zx
...
@@ -40,7 +41,7 @@ ifeq ($(PYTHON_VER),2.5)
...
@@ -40,7 +41,7 @@ ifeq ($(PYTHON_VER),2.5)
sed
-i
'1ifrom __future__ import with_statement'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/setup.py"
sed
-i
'1ifrom __future__ import with_statement'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/setup.py"
endif
endif
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
&&
\
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
&&
\
./configure
--prefix
$(PYTHON_PATH)
--without-sqlite
--with-zlib
=
/usr/include
>
/dev/null 2>&1
&&
\
./configure
--prefix
$(PYTHON_PATH)
--without-sqlite
>
/dev/null 2>&1
&&
\
make
&&
\
make
&&
\
make
install
>
/dev/null 2>&1
make
install
>
/dev/null 2>&1
@
echo
"Finished installing Python"
@
echo
"Finished installing Python"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment