Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#8189 closed defect (invalid)

Minor changes to support compile on CentOS 5.3

Reported by: randy@… Owned by:
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Small patch to deal with a few issues encountered on CentOS.

  1. 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.
  1. Changed sqlite3_prepare_v2 to sqlite3_prepare. This seems to be a common problem from what I found on the net.
  1. Slight change to make sure that the tiff compile fines jpegint.h
  1. Added check to configure.in to make sure we are including -lnsl when appropriate.
  • xbmc/FileSystem/cdioSupport.cpp

     
    154154
    155155int CLibcdio::mmc_get_tray_status(const CdIo_t *p_cdio)
    156156{
    157 #ifdef _LINUX
     157#ifdef _LINUZ
    158158  CSingleLock lock(*this);
    159159
    160160  return( ::mmc_get_tray_status(p_cdio) );
  • xbmc/lib/sqLite/sqlitedataset.cpp

     
    436436  #ifdef __APPLE__
    437437  if (db->setErr(sqlite3_prepare(handle(),query,-1,&stmt, NULL),query) != SQLITE_OK)
    438438  #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)
    440440  #endif
    441441    throw DbErrors(db->getErrorMsg());
    442442
  • xbmc/lib/cximage-6.0/tiff/Makefile

     
    44   CFLAGS=-O2 -fPIC -fno-common -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
    55   CXXFLAGS==-fPIC -fno-common -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
    66else
    7    CFLAGS=-O2 -fPIC -D_LINUX
     7   CFLAGS=-O2 -I../jpeg -fPIC -D_LINUX
    88endif
    99
    1010OBJS=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

     
    10521052  fi
    10531053])
    10541054
     1055###############################################
     1056# test for where we get yp_get_default_domain() from
     1057AC_SEARCH_LIBS(yp_get_default_domain, [nsl])
     1058AC_CHECK_FUNCS(yp_get_default_domain)
     1059
    10551060AC_OUTPUT
    10561061
    10571062final_message="$final_message\n  prefix:\t$prefix\n$dashes"

Attachments (0)

Change History (6)

comment:1 by Emmanuel Blot, 16 years ago

Resolution: invalid
Status: newclosed

comment:2 by ano@…, 16 years ago

this seemes ok

comment:3 by anonymous, 15 years ago

It work also on Debian 4.0 Stable

comment:4 by Christian Boos, 15 years ago

Description: modified (diff)

(submitting at the wrong Trac is no excuse for bad WikiFormatting …)

in reply to:  1 comment:5 by anonymous, 15 years ago

Replying to eblot:

WrongTrac

I am new in installing the Trac on CentOS 5.3. Kinldy guide me to install the same.

in reply to:  2 comment:6 by anonymous, 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@…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.