Opened 9 years ago

Closed 8 years ago

#46848 closed defect (worksforme)

xorg-libX11: configure: error: /X11 doesn't exist or isn't a directory

Reported by: astyh83@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: xorg-libX11

Description

When trying to install tesseract via Macports, it gives an error message that says xcode is not installed, but I have actually installed xcode via: xcode-select --install.

Why is that so and how should I resolve this issue? Thanks!

sudo port install tesseract
Password:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for tesseract
--->  Dependencies to be installed: leptonica giflib xorg-libX11 xorg-libsm xorg-libice libpng openjpeg jbigkit lcms2 tiff webp
--->  Configuring xorg-libX11
Error: Failed to configure xorg-libX11, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/work/libX11-1.6.2/config.log
Error: org.macports.configure for port xorg-libX11 returned: configure failure: command execution failed
Error: Failed to install xorg-libX11
Please see the log file for port xorg-libX11 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/main.log
Error: The following dependencies were not installed: leptonica giflib xorg-libX11 xorg-libsm xorg-libice libpng openjpeg jbigkit lcms2 tiff webp
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port tesseract failed

Attachments (1)

config.log (68.7 KB) - added by astyh83@… 9 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/work/libX11-1.6.2/config.log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by astyh83@…

Cc: astyh83@… added

Cc Me!

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: astyh83@… removed
Priority: HighNormal

Please don’t set the Priority field.

xcode-select --install only installs the Xcode Command-Line Tools. It doesn’t install Xcode itself. You need to install Xcode through the Mac App Store; have you done this?

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Port: xorg-libX11 added
Summary: tesseract failed to installxorg-libX11: configure fails

If you're unsure what to do next, attach the config.log file, which may give more information.

comment:4 in reply to:  2 Changed 9 years ago by astyh83@…

Replying to larryv@…:

Please don’t set the Priority field.

xcode-select --install only installs the Xcode Command-Line Tools. It doesn’t install Xcode itself. You need to install Xcode through the Mac App Store; have you done this?

Installed Xcode and got the following results:

--->  Computing dependencies for tesseract
--->  Dependencies to be installed: leptonica giflib xorg-libX11 xorg-libsm xorg-libice libpng openjpeg jbigkit lcms2 tiff webp
--->  Configuring xorg-libX11
Error: Failed to configure xorg-libX11, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/work/libX11-1.6.2/config.log
Error: org.macports.configure for port xorg-libX11 returned: configure failure: command execution failed
Error: Failed to install xorg-libX11
Please see the log file for port xorg-libX11 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/main.log
Error: The following dependencies were not installed: leptonica giflib xorg-libX11 xorg-libsm xorg-libice libpng openjpeg jbigkit lcms2 tiff webp
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port tesseract failed

Changed 9 years ago by astyh83@…

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/work/libX11-1.6.2/config.log

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…
Summary: xorg-libX11: configure failsxorg-libX11: configure: error: /X11 doesn't exist or isn't a directory

comment:6 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

Are you still seeing this? I can't reproduce and there are no other reports?

Note: See TracTickets for help on using tickets.