Compile Python 3.4 with sqlite3 -
i have compiled sqlite3 3.8.6 , installed ${home}/opt with:
ldflags="-l${home}/opt/lib" cflags="-l${home}/opt/include" ./configure --prefix=$home/opt create && create install
i trying compile python 3.4.2 utilize version instead of version installed entire system. not have root access on system. compile python, using:
ldflags="-l${home}/opt/lib" cflags="-l${home}/opt/include" ./configure --prefix=$home/opt create && create install
i able compile python 3.3.5 newer version if sqlite3, these same steps don't seem work me 3.4.2.
how can compile python 3.4.2 include version of sqlite 3.8.6 located in ${home}/opt?
thanks.
edit: compiles & installs ok except fact using older, scheme version of sqlite3 instead of version compiled & installed myself.
there alternative of pre-linking custom python build own-built sqlite3. (i had same issue: custom python using system-provided sqlite3, ignoring sqlite3 built).
prefix configure
, make
commands with:
ld_run_path=$home/opt/lib configure ldflags="-l$home/opt/lib" cppflags="-i$home/opt/include" … ld_run_path=$home/opt/lib create
so built python3
default linked sqlite3. worked me.
python sqlite3
No comments:
Post a Comment