Closed Bug 68436 Opened 24 years ago Closed 23 years ago

mozilla-2001-02-08-08-Mtrunk + Xlib toolkit + SunWorkshop6U2EA fails due missing <X11/xpm.h>

Categories

(Core :: XUL, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.3

People

(Reporter: roland.mainz, Assigned: roland.mainz)

References

Details

mozilla-2001-02-08-08-Mtrunk build using "Sun Workshop 6 Update 2 EarlyAccess" with --enable-toolkit=xlib fails like this due missing <X11/xpm.h> in Solaris 2.7: -- snip -- /opt/SUNWspro/bin/CC -library=iostream -o nsDragService.o -c -DOSTYPE=\"SunOS5\" -DOJI -D_IMPL_NS_WIDGET -I../../../dist/include -I../../../dist/include -I../../../../widget/src/xlib/../xpwidgets -I../../../../widget/src/xlib -I/usr/openwin/include -KPIC -mt -xO2 -DDEBUG -DDEBUG_gisburn -DTRACING -g -I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_XLIB=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"xlib\" -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1 -DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_GETTIMEOFDAY=1 -DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_MAIL_NEWS=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DCPP_CV_QUALIFIERS_CAUSE_AMBIGUITY=1 -DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1 ../../../../widget/src/xlib/nsDragService.cpp "../../../../widget/src/xlib/nsDragService.h", line 40: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 41: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 42: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 43: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 44: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 45: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 46: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 47: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 48: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 49: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 50: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 51: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 52: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 53: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 54: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 55: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 56: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 57: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 58: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 59: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 60: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 61: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 62: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 63: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 64: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 65: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 66: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 67: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 68: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 69: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 70: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 71: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 72: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 73: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 74: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 75: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 76: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.h", line 77: Warning: String literal converted to char* in initialization. "../../../../widget/src/xlib/nsDragService.cpp", line 34: Error: Could not open include file <X11/xpm.h>. "../../../../widget/src/xlib/nsDragService.cpp", line 87: Error: XpmAttributes is not defined. "../../../../widget/src/xlib/nsDragService.cpp", line 99: Error: Variable attr is not a structure. "../../../../widget/src/xlib/nsDragService.cpp", line 101: Error: The function "XpmCreatePixmapFromData" must have a prototype. 4 Error(s) and 38 Warning(s) detected. make[3]: *** [nsDragService.o] Error 4 make[3]: Leaving directory `/bigtmp/gisburn/mozilla-2001-02-08-08-Mtrunk/mozilla/objdir_ws6_xlib/widget/src/xlib' make[2]: *** [install] Error 2 make[2]: Leaving directory `/bigtmp/gisburn/mozilla-2001-02-08-08-Mtrunk/mozilla/objdir_ws6_xlib/widget/src' make[1]: *** [install] Error 2 make[1]: Leaving directory `/bigtmp/gisburn/mozilla-2001-02-08-08-Mtrunk/mozilla/objdir_ws6_xlib/widget' make: *** [install] Error 2 -- snip -- Build config should catch this (and should look into /usr/local/include - I've installed missing XPM stuff in /usr/local - <X11/xpm.h>==/usr/local/include/X11/xpm.h). gcc build using last week's tip didn't fail - I assume that gcc automagically looks into /usr/local/include but Sun Workshop 6 does not. Workaround: Set CFLAGS/CXXFLAGS to include /usr/local/include Suggested fix: 1. Add /usr/local/include&/usr/local/lib to include/library search paths 2. Xlib checks in ../configure should check if <X11/xpm.h> is availabe or not Assigning to the Xlib toolkit owner (BTW: What about a Xlib toolkit BugZilla component ?)...
Depends on: 88679
Dependicy to libXpm in Xlib-port has been removed (see bug 88679). Stealing this one from blizzard, it _should_ be fixed now... I am going to test this...
Assignee: blizzard → Roland.Mainz
Target Milestone: --- → mozilla0.9.3
Fixed. pocemit, wanna verify, please ?
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
indeed, dependency on libXPM has been removed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.