#811 closed Defect (fixed)
linux build fails
Reported by: | mjakubicek | Owned by: | romw |
---|---|---|---|
Priority: | Major | Milestone: | Undetermined |
Component: | Client - Build | Version: | 6.6.37 |
Keywords: | Cc: | mjakubicek |
Description
The following sequence
./_autosetup[[BR]] ./configure --disable-static --enable-unicode make -k
results into:
... Making all in clientgui/res make[2]: Entering directory `/home/milos/tmp/boinc_core_release_6_4_5/clientgui/res' make[2]: *** No rule to make target `boincmgr.16x16.png', needed by `all-am'. make[2]: *** No rule to make target `boincmgr.32x32.png', needed by `all-am'. make[2]: *** No rule to make target `boincmgr.48x48.png', needed by `all-am'. make[2]: Target `all' not remade because of errors. ...
If either the missing files, which are actually in the sea/ subdirectory, are symlinked into clientgui/res or the Makefile is patched (all these .png are removed), everything builds fine.
Attachments (3)
Change History (15)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
One more issue: "make install" fails on:
Making install in samples/example_app make[1]: Entering directory `/home/milos/rpmbuild/BUILD/boinc_core_release_6_4_5/samples/example_app' make[1]: *** No rule to make target `install'. Stop.
Confirmed on that SVN tag (took me FOREVER to switch to the tag, why on earth are there so many >megabytes of Windows DLLs in the repository?!).
I wonder if all of them are indeed necessary.
The problem doesn't happen on trunk.
As always:( I would really appreciate if all fixed bugs and changes would be tagged properly and someone at least tried to build the tagged sources.
comment:3 Changed 16 years ago by
Cc: | mjakubicek added |
---|
comment:4 Changed 16 years ago by
Owner: | changed from romw to Eric Korpela |
---|
comment:5 Changed 15 years ago by
Priority: | Minor → Major |
---|---|
Summary: | linux build fails due to missing files → linux build fails |
Version: | 6.4.5 → 6.6.37 |
The linux build goes worse with every next release, currently one has to perform following fixes to proceed with the build:
# described above:
sed -i "s/boincmgr.16x16.png boincmgr.32x32.png boincmgr.48x48.png//" clientgui/res/Makefile.in
# missing:
echo "install:" >> samples/example_app/Makefile
# because "-lssl" is needed:
sed -i 's/crypt_prog_LDADD = $(lib_LIBRARIES) $(RSA_LIBS) $(PTHREAD_LIBS)/crypt_prog_LDADD = $(lib_LIBRARIES) $(RSA_LIBS) $(PTHREAD_LIBS) $(BOINC_EXTRA_LIBS)/' lib/Makefile.in
# because "-lcurl" is needed:
sed -i 's/boinc_client_LDADD = $(LIBBOINC) $(PTHREAD_LIBS)/boinc_client_LDADD = $(LIBBOINC) $(PTHREAD_LIBS) $(BOINC_EXTRA_LIBS)/' client/Makefile.in
# after configure:
echo -e "all:\ninstall:" >> locale/client/Makefile
...and in case of a Mac machine there is additionally the problem described in #941
comment:6 Changed 15 years ago by
Please upload your config.log, config.status and client/Makefile here.
Changed 15 years ago by
Attachment: | config.log added |
---|
Changed 15 years ago by
Attachment: | config.status added |
---|
comment:7 Changed 15 years ago by
comment:8 Changed 15 years ago by
...well, before this gets closed, some very minor sanity issues could still be addressed (would make my spec file even shorter:)
# Those have executable bits now, pretty unnecessarily
chmod 644 clientgui/{DlgItemProperties.h,AsyncRPC.cpp,DlgItemProperties.cpp}
# This has DOS file format (CRLF), all other have unix-like (LF only)
sed -i 's/\r//' clientgui/DlgItemProperties.cpp
# Checkin notes from 2004-2006 are not in utf8, all others (from other years) are:
iconv -f ISO88591 -t UTF8 < checkin_notes_2004 > checkin_notes_2004.utf8 touch -r checkin_notes_2004 checkin_notes_2004.utf8 mv checkin_notes_2004.utf8 checkin_notes_2004 iconv -f ISO88591 -t UTF8 < checkin_notes_2005 > checkin_notes_2005.utf8 touch -r checkin_notes_2005 checkin_notes_2005.utf8 mv checkin_notes_2005.utf8 checkin_notes_2005 iconv -f ISO88591 -t UTF8 < checkin_notes_2006 > checkin_notes_2006.utf8 touch -r checkin_notes_2006 checkin_notes_2006.utf8 mv checkin_notes_2006.utf8 checkin_notes_2006
...thank you in advance!
comment:9 Changed 15 years ago by
There are no international characters in checkin_notes files (that I know of). Conversion from ASCII to UTF-8 would give identical results.
comment:10 Changed 15 years ago by
No no, see:
checkin_notes_2004:7574,10823,11515,12903 checkin_notes_2005:1303 checkin_notes_2006:10484
...and just found out that current checkin_notes suffer same problems:
checkin_notes:49 (this string should sound familiar to you:)
comment:11 Changed 15 years ago by
Owner: | changed from Eric Korpela to romw |
---|
comment:12 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing ticket, all code issues appear to be resolved.
If not, please reopen the ticket.
Confirmed on that SVN tag (took me FOREVER to switch to the tag, why on earth are there so many megabytes of Windows DLLs in the repository?!).
The problem doesn't happen on trunk.