Opened 11 years ago

Closed 11 years ago

#41812 closed defect (invalid)

poppler error during CERN ROOT installation

Reported by: antonio.caciolli@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

hi,

I installed macports to install CERN ROOT after installation of Macports I typed:

sudo port install root

and I encounter this error

Error: Failed to configure poppler, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.4/config.log
Error: org.macports.configure for port poppler returned: configure failure: command execution failed
Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

how could I fix this problem?

Attachments (2)

main.log (15.2 KB) - added by antonio.caciolli@… 11 years ago.
config.log (14.2 KB) - added by antonio.caciolli@… 11 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

Please run the following commands.

% sudo port clean root poppler
% sudo port install root

If that fails again, please attach the log file for poppler that is mentioned in the error message.

Changed 11 years ago by antonio.caciolli@…

Attachment: main.log added

comment:2 Changed 11 years ago by antonio.caciolli@…

hi larry,

I attached the log since the procedure you suggested did not work :-(

here I report also what I got from terminal

Antonios-MacBook:~ crotalo$ sudo port clean root poppler
Password:
--->  Cleaning root
--->  Cleaning poppler
Antonios-MacBook:~ crotalo$ sudo port install root
--->  Computing dependencies for root
--->  Dependencies to be installed: graphviz poppler urw-fonts webp xorg-libXaw xorg-libXmu gsl libgcc cloog isl libmpc mpfr mesa xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-inputproto pcre
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.24.4_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler
--->  Attempting to fetch poppler-0.24.4_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler
--->  Attempting to fetch poppler-0.24.4_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/poppler
--->  Fetching distfiles for poppler
--->  Verifying checksums for poppler
--->  Extracting poppler
--->  Configuring poppler
Error: Failed to configure poppler, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.4/config.log
Error: org.macports.configure for port poppler returned: configure failure: command execution failed
Error: Failed to install poppler
Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
Error: The following dependencies were not installed: graphviz poppler urw-fonts webp xorg-libXaw xorg-libXmu gsl libgcc cloog isl libmpc mpfr mesa xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-inputproto pcre
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port root failed

comment:3 in reply to:  2 Changed 11 years ago by larryv (Lawrence Velázquez)

:info:configure checking whether make sets $(MAKE)... no
:info:configure checking whether make supports nested variables... no
:info:configure checking whether make supports nested variables... (cached) no
:info:configure checking for style of include used by make... none
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.4':
:info:configure configure: error: C compiler cannot create executables

Have you installed the Xcode command-line tools by running xcode-select --install? I suspect you haven’t. Please do so and repeat the commands I gave you before.

comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)

Summary: poplar error during CERN ROOT installationpoppler error during CERN ROOT installation

comment:5 Changed 11 years ago by antonio.caciolli@…

Hi

I did (I checked right now looking the bash history)

How can I check that it worked? Maybe I can digit the command again?

ciao Antonio

Last edited 11 years ago by antonio.caciolli@… (previous) (diff)

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

You could also attach the config.log file; it might say more about why the C compiler doesn't work.

Changed 11 years ago by antonio.caciolli@…

Attachment: config.log added

comment:7 Changed 11 years ago by antonio.caciolli@…

attached

thanks you all for the help

comment:8 in reply to:  7 Changed 11 years ago by larryv (Lawrence Velázquez)

Ah.

configure:3874: checking for C compiler version
configure:3883: /usr/bin/clang --version >&5


Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.


configure:3894: $? = 69

You need to agree to the Xcode license, either by opening Xcode and clicking “Agree” at the license dialog box or by running sudo xcodebuild -license at the command line.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.