Modify ↓
#8189 closed defect (invalid)
Minor changes to support compile on CentOS 5.3
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | none |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Small patch to deal with a few issues encountered on CentOS.
- Commented out call to mmc_get_tray_status within the same function. Clearly hacked to get it to compile, but not sure how this recursive call to the cdio function would work. I'm not a c++ developer.
- Changed sqlite3_prepare_v2 to sqlite3_prepare. This seems to be a common problem from what I found on the net.
- Slight change to make sure that the tiff compile fines jpegint.h
- Added check to configure.in to make sure we are including -lnsl when appropriate.
-
xbmc/FileSystem/cdioSupport.cpp
154 154 155 155 int CLibcdio::mmc_get_tray_status(const CdIo_t *p_cdio) 156 156 { 157 #ifdef _LINU X157 #ifdef _LINUZ 158 158 CSingleLock lock(*this); 159 159 160 160 return( ::mmc_get_tray_status(p_cdio) ); -
xbmc/lib/sqLite/sqlitedataset.cpp
436 436 #ifdef __APPLE__ 437 437 if (db->setErr(sqlite3_prepare(handle(),query,-1,&stmt, NULL),query) != SQLITE_OK) 438 438 #else 439 if (db->setErr(sqlite3_prepare _v2(handle(),query,-1,&stmt, NULL),query) != SQLITE_OK)439 if (db->setErr(sqlite3_prepare(handle(),query,-1,&stmt, NULL),query) != SQLITE_OK) 440 440 #endif 441 441 throw DbErrors(db->getErrorMsg()); 442 442 -
xbmc/lib/cximage-6.0/tiff/Makefile
4 4 CFLAGS=-O2 -fPIC -fno-common -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 5 5 CXXFLAGS==-fPIC -fno-common -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 6 6 else 7 CFLAGS=-O2 - fPIC -D_LINUX7 CFLAGS=-O2 -I../jpeg -fPIC -D_LINUX 8 8 endif 9 9 10 10 OBJS=fax3sm_winnt.o tif_aux.o tif_close.o tif_codec.o tif_compress.o tif_dir.o tif_dirinfo.o tif_dirread.o tif_dirwrite.o tif_dumpmode.o tif_error.o tif_fax3.o tif_flush.o tif_getimage.o tif_jpeg.o tif_luv.o tif_lzw.o tif_next.o tif_ojpeg.o tif_open.o tif_packbits.o tif_pixarlog.o tif_predict.o tif_print.o tif_read.o tif_strip.o tif_swab.o tif_thunder.o tif_tile.o tif_version.o tif_warning.o tif_write.o tif_zip.o -
configure.in
1052 1052 fi 1053 1053 ]) 1054 1054 1055 ############################################### 1056 # test for where we get yp_get_default_domain() from 1057 AC_SEARCH_LIBS(yp_get_default_domain, [nsl]) 1058 AC_CHECK_FUNCS(yp_get_default_domain) 1059 1055 1060 AC_OUTPUT 1056 1061 1057 1062 final_message="$final_message\n prefix:\t$prefix\n$dashes"
Attachments (0)
Change History (6)
follow-up: 5 comment:1 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
Description: | modified (diff) |
---|
(submitting at the wrong Trac is no excuse for bad WikiFormatting …)
comment:5 by , 15 years ago
comment:6 by , 15 years ago
Replying to ano@…:
this seemes ok
I am new in installing the Trac on CentOS 5.3. Kinldy guide me to install the same. contact me mcpbalaji@…
Note:
See TracTickets
for help on using tickets.
WrongTrac