[MacPorts] #15941: mjpegtools build error: ld: library not found for -lX11

MacPorts noreply at macports.org
Mon Jul 14 13:33:15 PDT 2008


#15941: mjpegtools build error: ld: library not found for -lX11
---------------------------------+------------------------------------------
  Reporter:  mroman at eduapple.pl  |       Owner:  filippo.natali at gmail.com
      Type:  defect              |      Status:  new                     
  Priority:  Normal              |   Milestone:  Port Enhancements       
 Component:  ports               |     Version:  1.6.0                   
Resolution:                      |    Keywords:                          
---------------------------------+------------------------------------------
Comment (by mroman at eduapple.pl):

 1. aspell-0.60          libcdt.4.dylib          libgvc.4.dylib
 codecs                  libcdt.dylib            libgvc.dylib
 graphviz                libcdt.la               libgvc.la
 libagraph.4.0.0.dylib   libcgraph.4.0.0.dylib   libpathplan.4.0.0.dylib
 libagraph.4.dylib       libcgraph.4.dylib       libpathplan.4.dylib
 libagraph.dylib         libcgraph.dylib         libpathplan.dylib
 libagraph.la            libcgraph.la            libpathplan.la
 libaspell.15.1.4.dylib  libgraph.4.0.0.dylib    libpspell.15.1.4.dylib
 libaspell.15.dylib      libgraph.4.dylib        libpspell.15.dylib
 libaspell.dylib         libgraph.dylib          libpspell.dylib
 libaspell.la            libgraph.la             libpspell.la
 libcdt.4.0.0.dylib      libgvc.4.0.0.dylib      pkgconfig

 I didn't know, that /usr/local/lib should be empty. These libs were
 probably installed with some .pkg's. Do I really need to move them
 elsewhere?

 2./opt/local/lib/libdv.dylib is provided by: libdv
 port dependents libdv
 MPlayer depends on libdv

 3,4.  mjpegtools @1.6.2_2+darwin_9 (active)

 MacPorts 1.600
 OSX 10.5.4  MBP1,1
 Xcode 3.1
 Component versions: DevToolsCore-1100.0; DevToolsSupport-1086.0
 BuildVersion: 9M2199
 The following ports are currently installed:
   a52dec @0.7.4_0 (active)
   aalib @1.4rc5_3 (active)
   atk @1.22.0_1 (active)
   audiofile @0.2.6_2 (active)
   autoconf @2.62_0 (active)
   automake @1.10.1_0 (active)
   base64 @1.3_0 (active)
   bash-completion @20060301_1 (active)
   boost-jam @3.1.16_0 (active)
   bzip2 @1.0.5_1 (active)
   cairo @1.6.4_1+no_x11 (active)
   checkdns @0.5_0 (active)
   curl @7.18.2_0 (active)
   curlftpfs @0.9.1_0 (active)
   dbus @1.2.1_0 (active)
   dd_rescue @1.14_0 (active)
   ddrescue @1.8_1 (active)
   di @4.12_0 (active)
   disktype @9_0 (active)
   expat @2.0.1_0 (active)
   faac @1.26_0 (active)
   faad2 @2.6.1_0 (active)
   fdupes @1.40_0 (active)
   ffmpeg @0.4.9-pre1_8+a52+darwin_i386+faac+faad+gpl+lame+theora+x264+xvid
 (active)
   fontconfig @2.5.0_0+macosx
   fontconfig @2.6.0_0+macosx (active)
   freetype @2.3.5_1
   freetype @2.3.6_0 (active)
   fribidi @0.10.9_0 (active)
   gawk @3.1.6_0 (active)
   gd2 @2.0.35_1 (active)
   gdbm @1.8.3_1 (active)
   gettext @0.17_3 (active)
   ghostscript @8.62_1 (active)
   glib1 @1.2.10_5 (active)
   glib2 @2.16.3_0+darwin_9 (active)
   gmake @3.81_0 (active)
   gperf @3.0.3_0 (active)
   gtk2 @2.12.9_0+no_x11+quartz (active)
   help2man @1.36.4_1 (active)
   ImageMagick @6.4.2-1_1+jpeg2+mpeg+q16
   isightcapture @1.1_0+universal (active)
   jasper @1.900.1_1+darwin_9 (active)
   jpeg @6b_2 (active)
   lame @3.97_0 (active)
   lcms @1.17_0 (active)
   libart_lgpl @2.3.20_0 (active)
   libdts @0.0.2_0 (active)
   libdv @1.0.0_0+darwin_i386 (active)
   libiconv @1.12_0 (active)
   libmad @0.15.1b_1 (active)
   libmng @1.0.10_0 (active)
   libogg @1.1.3_2 (active)
   libpaper @1.1.21_1 (active)
   libpcap @0.9.8_0 (active)
   libpixman @0.10.0_0 (active)
   libpng @1.2.29_0 (active)
   libsdl @1.2.13_2 (active)
   libtheora @1.0beta2_0+darwin_9_i386 (active)
   libtool @1.5.26_0 (active)
   libungif @4.1.4_2 (active)
   libvorbis @1.2.0_1 (active)
   libxml2 @2.6.31_0
   libxml2 @2.6.32_0 (active)
   links @2.1pre28_0
   links @2.1pre36_0 (active)
   lzo2 @2.02_2+darwin_9 (active)
   m4 @1.4.11_0 (active)
   macfuse @1.5_0 (active)
   mc @4.6.1_0 (active)
   mdf2iso @0.3.0_0 (active)
   mpeg2vidcodec @1.2_0+x11 (active)
   mpeg4ip @1.5.0.1_0 (active)
   MPlayer
 @1.0rc2_2+binary_codecs+dts+dv+faac+fribidi+macosx+noappleremote+osd+speex+theora+x264+xvid
 (active)
   mtr @0.72_0 (active)
   nail @11.25_0 (active)
   ncurses @5.6_0 (active)
   ncursesw @5.6_1 (active)
   nmap @4.60_0 (active)
   ntop @3.3_1 (active)
   openssh @5.0p1_0+darwin_9 (active)
   openssl @0.9.8g_0
   openssl @0.9.8h_0 (active)
   p5-locale-gettext @1.05_0 (active)
   p5-xml-parser @2.36_0 (active)
   pango @1.20.2_0 (active)
   pcre @7.7_0 (active)
   perl5.8 @5.8.8_2+darwin_9 (active)
   pkgconfig @0.23_0 (active)
   popt @1.13_0 (active)
   procfs @2.0_0 (active)
   python25 @2.5.2_5+darwin_9 (active)
   qt4-mac @4.4.0_2+dbus+demos+docs+examples (active)
   qtplay @1.3.1_0 (active)
   render @0.9_1 (active)
   rrdtool @1.2.27_1 (active)
   shared-mime-info @0.23_2
   shared-mime-info @0.40_0 (active)
   socket @1.4_0 (active)
   speex-devel @1.2beta1_0 (active)
   sshfs @1.9_0 (active)
   tcl @8.5.2_0 (active)
   testdisk @6.6_0 (active)
   tiff @3.8.2_1+darwin_9+macosx
   tiff @3.8.2_2+darwin_9+macosx (active)
   unrar @3.7.8_0 (active)
   urw-fonts @1.0.7pre44_0 (active)
   wget @1.11.2_0
   wget @1.11.3_1 (active)
   wireshark @1.0.0_0+darwin_9 (active)
   x264 @20080108_0 (active)
   xorg-util-macros @1.1.5_0 (active)
   xorg-xproto @7.0.11_1 (active)
   XviD @1.1.3_1 (active)
   zlib @1.2.3_1 (active)

 bash-3.2# port install mjpegtools +gtk +libdv +sdl
 --->  Fetching gtk1
 --->  Verifying checksum(s) for gtk1
 --->  Extracting gtk1
 --->  Applying patches to gtk1
 --->  Configuring gtk1
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10"
 && ./configure --prefix=/opt/local --disable-shm --with-locale
 --mandir=/opt/local/share/man --infodir=/opt/local/share/info " returned
 error 1
 Command output: checking for putenv... yes
 checking for setenv... yes
 checking for setlocale... yes
 checking for strchr... yes
 checking for strcasecmp... yes
 checking for strdup... yes
 checking for __argz_count... no
 checking for __argz_stringify... no
 checking for __argz_next... no
 checking for stpcpy... yes
 checking for LC_MESSAGES... yes
 checking whether NLS is requested... yes
 checking for libintl.h... yes
 checking for dgettext in libc... no
 checking for bindtextdomain in -lintl... yes
 checking for dgettext in libintl... checking for dgettext in -lintl... yes
 yes
 checking for msgfmt... /opt/local/bin/msgfmt
 checking for dcgettext... yes
 checking for gmsgfmt... /opt/local/bin/msgfmt
 checking for xgettext... /opt/local/bin/xgettext
 checking for catalogs to be installed...  az ca cs da de el es et eu fi fr
 ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr uk vi
 wa zh_CN.GB2312 zh_TW.Big5
 checking for extra flags to get ANSI library prototypes... none needed
 checking for extra flags for POSIX compliance... none needed
 checking for glib-config... /opt/local/bin/glib-config
 checking for GLIB - version >= 1.2.8... yes
 checking for X... no
 configure: error:
 *** X libraries or include files not found. Check 'config.log' for
 *** more details.

 Error: The following dependencies failed to build: gtk1
 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/15941#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list