[issue27713] Spurious "platform dependent libraries" warnings when running make

Chris Jerdonek report at bugs.python.org
Mon Aug 8 14:06:06 EDT 2016


New submission from Chris Jerdonek:

When installing Python 3.5.2 from source on Ubuntu 14.04 and running
make, I get the below "Could not find platform dependent libraries"
warnings (which I prefixed with "***" for better visibility).

>From this message which has more background, these warnings are
apparently harmless:

https://mail.python.org/pipermail/python-dev/2016-August/145783.html


    	      -DHGBRANCH="\"`LC_ALL=C `\"" \
    	      -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
    gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -Werror=declaration-after-statement   -I. -IInclude -I./Include    -DPy_BUILD_CORE -o Programs/_freeze_importlib.o Programs/_freeze_importlib.c
    gcc -pthread   -o Programs/_freeze_importlib Programs/_freeze_importlib.o Modules/getbuildinfo.o Parser/acceler.o [**snipped for brevity**]  Modules/xxsubtype.o -lpthread -ldl  -lutil   -lm  
    if test "no" != "yes"; then \
    	    ./Programs/_freeze_importlib \
    	        ./Lib/importlib/_bootstrap.py Python/importlib.h; \
    	fi
    ***: Could not find platform dependent libraries <exec_prefix>
    ***: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    if test "no" != "yes"; then \
    	    ./Programs/_freeze_importlib \
    	        ./Lib/importlib/_bootstrap_external.py Python/importlib_external.h; \
    	fi
    ***: Could not find platform dependent libraries <exec_prefix>
    ***: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -Werror=declaration-after-statement   -I. -IInclude -I./Include    -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
    rm -f libpython3.5m.a
    ar rc libpython3.5m.a Modules/getbuildinfo.o

----------
components: Installation
messages: 272186
nosy: chris.jerdonek
priority: normal
severity: normal
status: open
title: Spurious "platform dependent libraries" warnings when running make
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27713>
_______________________________________


More information about the Python-bugs-list mailing list