#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Comment(by jmgregory@…): I got the following errors when attempting to install: (PowerPC G4, OS X 10.4, Xcode version 2.5) {{{ $ sudo port install mplayer-devel +osd+fribidi+samba+theora+xvid+x264+faac+twolame+dts ---> Building mplayer-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build /_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mplayer-devel/work/trunk" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno- pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/usr/X11/include -Ilibdvdread4 -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c libvo/vo_jpeg.c:33:21: error: jpeglib.h: No such file or directory libvo/vo_jpeg.c: In function 'jpeg_write': libvo/vo_jpeg.c:183: error: storage size of 'cinfo' isn't known libvo/vo_jpeg.c:184: error: storage size of 'jerr' isn't known libvo/vo_jpeg.c:185: error: 'JSAMPROW' undeclared (first use in this function) libvo/vo_jpeg.c:185: error: (Each undeclared identifier is reported only once libvo/vo_jpeg.c:185: error: for each function it appears in.) libvo/vo_jpeg.c:185: error: parse error before 'row_pointer' libvo/vo_jpeg.c:198: warning: implicit declaration of function 'jpeg_std_error' libvo/vo_jpeg.c:199: warning: implicit declaration of function 'jpeg_create_compress' libvo/vo_jpeg.c:200: warning: implicit declaration of function 'jpeg_stdio_dest' libvo/vo_jpeg.c:205: error: 'JCS_RGB' undeclared (first use in this function) libvo/vo_jpeg.c:207: warning: implicit declaration of function 'jpeg_set_defaults' libvo/vo_jpeg.c:209: error: 'TRUE' undeclared (first use in this function) libvo/vo_jpeg.c:219: warning: implicit declaration of function 'jpeg_set_quality' libvo/vo_jpeg.c:224: warning: implicit declaration of function 'jpeg_simple_progression' libvo/vo_jpeg.c:227: warning: implicit declaration of function 'jpeg_start_compress' libvo/vo_jpeg.c:231: error: 'row_pointer' undeclared (first use in this function) libvo/vo_jpeg.c:232: warning: implicit declaration of function 'jpeg_write_scanlines' libvo/vo_jpeg.c:235: warning: implicit declaration of function 'jpeg_finish_compress' libvo/vo_jpeg.c:237: warning: implicit declaration of function 'jpeg_destroy_compress' libvo/vo_jpeg.c:184: warning: unused variable 'jerr' libvo/vo_jpeg.c:183: warning: unused variable 'cinfo' make: *** [libvo/vo_jpeg.o] Error 1 Error: Status 1 encountered during processing. }}} I was able to get past it by adding -I/opt/local/include to CFLAGS in config.mak in the build directory. (I added it to CXXFLAGS and OPTFLAGS, too, for good measure). I don't know how to translate that into the Portfile. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS