#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)
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: | new → closed |
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.
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.
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.