Closed
Bug 94834
Opened 24 years ago
Closed 24 years ago
libimg fail build if --without-png and --without-mng is NOT specified buring configure
Categories
(SeaMonkey :: Build Config, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: pawel.worach, Assigned: pavlov)
References
Details
Attachments
(2 files)
|
508 bytes,
patch
|
Details | Diff | Splinter Review | |
|
523 bytes,
patch
|
pavlov
:
review+
pavlov
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010811
BuildID: 20010811
the PNGDIR and MNGDIR variables are not set by configure if
--without-png and --without-mng is specified.
the makefile starts a for loop for each subdir but subdir is enpty and for
failes with unexpected ";" (for d in ; ...)
subdirs should be tested for "" and the loop skipped if empty, we will then use
the native libpng and libmng libs or better PNGDIR=png and MNGDIR=mng shound be
set as default values by configure...
Reproducible: Always
Steps to Reproduce:
1. ./configure --prefix=/opt/mozilla --disable-tests --disable-debug
--enable-optimize
2. gmake
3. failes in modules/libimg
Actual Results: /bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `set -e; for d in ; do sed -e "s!Y!export......
Expected Results: LIBPNG and LIBMNG should not be "" or loop should not be
executed if LIBPNG and LIBMNG is null
Linux distro is Redhat 7.1.93 (Roswell beta)
i guess PC/Linux is not the only platform...
Pavlov, more libimg1 clean up. DIRS should never be set to an empty string.
Assignee: cls → pavlov
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
Summary: libimg fail build if --without-png and --without-nmg is NOT specified buring configure → libimg fail build if --without-png and --without-mng is NOT specified buring configure
Target Milestone: --- → mozilla0.9.4
| Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
On my machine (Linux PPC), same situation is occured and is fixed by the
attachment #45498 [details] [diff] [review].
Comment 4•24 years ago
|
||
How about this (upcoming) diff? It's smaller, and should fix it. (can't test,
it doesn't happen on my box.)
Axel
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
patch (id=46738) fixes this for me.
Thanks Pike you rock. :)
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
| Assignee | ||
Comment 8•24 years ago
|
||
Comment on attachment 46738 [details] [diff] [review]
move from make vars to DIRS +=, DIRS should stay undefined for neither mng nor png
r=pavlov
Attachment #46738 -
Flags: review+
Comment 9•24 years ago
|
||
sr=jst
| Assignee | ||
Updated•24 years ago
|
Attachment #46738 -
Flags: superreview+
Comment 10•24 years ago
|
||
fix is in. gonna ask drivers if they want that in 0.9.4.
Axel
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
Comment on attachment 46738 [details] [diff] [review]
move from make vars to DIRS +=, DIRS should stay undefined for neither mng nor png
a=asa for checkin to 0.9.4
Attachment #46738 -
Flags: approval+
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•