Hi,
This is my first venture to Pyinstaller and this list. I have attempted to
follow the steps in the Pyinstaller manual to compile the bootloaders and
failed. Here is complete dialog:
r...@supremo:/home/ak/pyinstaller-1.4/source/linux# python Make.py
Using '/usr/lib/python2.6/config/Makefile' as Makefile template
Now run "make" to build the targets: ../../support/loader/run
../../support/loader/run_d
r...@supremo:/home/ak/pyinstaller-1.4/source/linux# make
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c getpath.c -o getpath.o
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c main.c -o main.o
main.c: In function ‘main’:
main.c:74: warning: unused variable ‘ptoc’
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c ../common/launch.c -o
launch.o
../common/launch.c: In function ‘checkCookie’:
../common/launch.c:272: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: At top level:
../common/launch.c:280: warning: function declaration isn’t a prototype
../common/launch.c: In function ‘openArchive’:
../common/launch.c:365: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: In function ‘extract’:
../common/launch.c:858: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: In function ‘runScripts’:
../common/launch.c:1042: warning: pointer targets in passing argument 1 of
‘PI_PyRun_SimpleString’ differ in signedness
../common/launch.c:1042: note: expected ‘char *’ but argument is of type
‘unsigned char *’
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wl,-Bsymbolic-
functions -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions getpath.o
main.o launch.o -lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz -lpthread -
ldl -lutil -lm -lz -o ../../support/loader/run
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [../../support/loader/run] Error 1
r...@supremo:/home/ak/pyinstaller-1.4/source/linux#
As email mangles the long lines, I also attach it as an attachment
'failed2make.txt'.
It seems to me that the failure indicates that the repetition '-lssl -lcrypto
-lssl -lcrypto' may cause a problem
OldAl.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.
a...@supremo:~/pyinstaller-1.4/source/linux$ python Make.py
Traceback (most recent call last):
File "Make.py", line 207, in <module>
main()
File "Make.py", line 119, in main
configf = open('../../config.dat', 'w')
IOError: [Errno 13] Permission denied: '../../config.dat'
a...@supremo:~/pyinstaller-1.4/source/linux$ sudo su
r...@supremo:/home/ak/pyinstaller-1.4/source/linux# python Make.py
Using '/usr/lib/python2.6/config/Makefile' as Makefile template
Now run "make" to build the targets: ../../support/loader/run
../../support/loader/run_d
r...@supremo:/home/ak/pyinstaller-1.4/source/linux# make
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c getpath.c -o getpath.o
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c main.c -o main.o
main.c: In function ‘main’:
main.c:74: warning: unused variable ‘ptoc’
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c ../common/launch.c -o launch.o
../common/launch.c: In function ‘checkCookie’:
../common/launch.c:272: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: At top level:
../common/launch.c:280: warning: function declaration isn’t a prototype
../common/launch.c: In function ‘openArchive’:
../common/launch.c:365: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: In function ‘extract’:
../common/launch.c:858: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
../common/launch.c: In function ‘runScripts’:
../common/launch.c:1042: warning: pointer targets in passing argument 1 of
‘PI_PyRun_SimpleString’ differ in signedness
../common/launch.c:1042: note: expected ‘char *’ but argument is of type
‘unsigned char *’
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
-Wl,-Bsymbolic-functions -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions getpath.o main.o launch.o -lssl -lcrypto -lssl
-lcrypto -L/usr/lib -lz -lpthread -ldl -lutil -lm -lz -o
../../support/loader/run
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [../../support/loader/run] Error 1
r...@supremo:/home/ak/pyinstaller-1.4/source/linux#