Message415959
Hello,
I tried to configure my installation according your instructions
Her's step I follow
export CPPFLAGS="-I$(brew --prefix sqlite3)/include -I$(brew --prefix zlib)/include"export LDFLAGS="-L$(brew --prefix sqlite3)/lib -L$(brew --prefix zlib)/lib"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
python3.10 pip-run -m jaraco.develop -- -m jaraco.develop.macos-build-python
/opt/homebrew/Cellar/python@3.10/3.10.2/bin/python3.10: can't open file ' .../cpytonpip-run': [Errno 2] No such file or directory
in the cpython directory :
run commands
export CPPFLAGS="-I$(brew --prefix sqlite3)/include -I$(brew --prefix zlib)/include"
export LDFLAGS="-L$(brew --prefix sqlite3)/lib -L$(brew --prefix zlib)/lib
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
./configure -with-pydebug --with-tcltk-includes="-I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers" --with-tcltk-libs="/Library/Frameworks/Tcl.framework/Tcl /Library/Frameworks/Tk.framework/Tk" --enable-optimizations
make clean
make -j8
gcc -L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/zlib/lib -fno-semantic-interposition -fprofile-instr-generate -Wl,-stack_size,1000000 -framework CoreFoundation -o python.exe Programs/python.o libpython3.10d.a -ldl -framework CoreFoundation
gcc -L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/zlib/lib -fno-semantic-interposition -fprofile-instr-generate -Wl,-stack_size,1000000 -framework CoreFoundation -o Programs/_testembed Programs/_testembed.o libpython3.10d.a -ldl -framework CoreFoundation
Undefined symbols for architecture arm64:
"_libintl_bindtextdomain", referenced from:
Undefined symbols for architecture arm64:
"_libintl_bindtextdomain", referenced from:
__locale_bindtextdomain_impl in libpython3.10d.a(_localemodule.o)
__locale_bindtextdomain_impl in libpython3.10d.a(_localemodule.o)
"_libintl_dcgettext", referenced from:
"_libintl_dcgettext", referenced from:
__locale_dcgettext_impl in libpython3.10d.a(_localemodule.o)
__locale_dcgettext_impl in libpython3.10d.a(_localemodule.o)
"_libintl_dgettext", referenced from:
"_libintl_dgettext", referenced from:
__locale_dgettext_impl in libpython3.10d.a(_localemodule.o)
__locale_dgettext_impl in libpython3.10d.a(_localemodule.o)
"_libintl_gettext", referenced from:
"_libintl_gettext", referenced from:
__locale_gettext_impl in libpython3.10d.a(_localemodule.o)
__locale_gettext_impl in libpython3.10d.a(_localemodule.o)
"_libintl_setlocale", referenced from:
"_libintl_setlocale", referenced from:
__locale_setlocale_impl in libpython3.10d.a(_localemodule.o)
_locale_decode_monetary in libpython3.10d.a(_localemodule.o)
__locale_setlocale_impl in libpython3.10d.a(_localemodule.o)
_locale_decode_monetary in libpython3.10d.a(_localemodule.o)
"_libintl_textdomain", referenced from:
"_libintl_textdomain", referenced from:
__locale_textdomain_impl in libpython3.10d.a(_localemodule.o)
__locale_textdomain_impl in libpython3.10d.a(_localemodule.o)
ld: symbol(s) not found for architecture arm64
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Programs/_testembed] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [python.exe] Error 1
make[2]: *** [build_all_generate_profile] Error 2
make[1]: *** [profile-gen-stamp] Error 2
make: *** [profile-run-stamp] Error 2
could you help me please to fixe this issus
Best regards
Battant |
|
Date |
User |
Action |
Args |
2022-03-24 16:40:40 | Battant | set | recipients:
+ Battant, barry, jaraco, ned.deily, docs@python |
2022-03-24 16:40:40 | Battant | set | messageid: <1648140040.17.0.803632929676.issue35905@roundup.psfhosted.org> |
2022-03-24 16:40:40 | Battant | link | issue35905 messages |
2022-03-24 16:40:39 | Battant | create | |
|