Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55599 closed defect (invalid)

sudo port install source-highlight

Reported by: LaurentMaheo Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: source-highlight

Description

Hi everyone,

I read two lasts posts on the subject but I did not manage to solve this problem. I had ever used brew and I remove it by: rm -rf /usr/local/* I cleaned up source-highlight and tried to install it another time. The log is attached.

Maybe I forgot something but I don't see what... Thanks for your help! --- Laurent

Attachments (1)

config.log (48.1 KB) - added by LaurentMaheo 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by LaurentMaheo

Attachment: config.log added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Keywords: source-highlight removed
Port: source-highlight added
Resolution: invalid
Status: newclosed

In the future, please fill in the Port field.

You have provided no useful information to debug your problem. Please attach the main.log file after cleaning the port (sudo port clean source-highlight) and re-open the ticket.

comment:2 Changed 7 years ago by kencu (Ken)

Laurent, it looks like your build is failing when it tries to run flex

configure:17355: found /opt/local/bin/flex
configure:17366: result: flex
configure:17404: flex conftest.l
flex: error writing output file lex.yy.c
configure:17408: $? = 1
configure:17410: checking lex output file root
configure:17421: error: cannot find output from flex; giving up

The most probable explanation for that is that your system has become out of date. Please sudo port clean source-highlight, then sudo port selfupdate, then sudo port -v upgrade outdated.

once that is done, your version of flex should be up to date, along with your other ports.

Then try sudo port -v install source-highlight once again, and see if it succeeds. If it does not, please post up your main.log and your config.log again so we can see what might be going on.

Last edited 7 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 7 years ago by LaurentMaheo

Hi Ken,

Thanks a lot. It works. Indeed, flex was not installed. After its installation, it's OK. Now I have a problem with gcc47 and I am working on it...

---

Laurent

comment:4 Changed 7 years ago by kencu (Ken)

great!

FYI not all those older gcc versions are installable on new systems.

Note: See TracTickets for help on using tickets.