This is our old Q&A Site. Please post any new questions and answers at

This might be a dumb question since no one asked before.
I used git to clone the code base. And I am on Mac, so I run macosx-setup script to setup the environment. Everything went OK except there is a CURL error with libsmi. I found that it's an optional package so I commented out this line and installed libsmi with 'port install libsmi'. Then I tried to configure, it gives me this message:
checking for Qt5Core - version >= 4.6.0... no checking for QtCore - version >= 4.6.0... no configure: error: Qt is not available
I can see qt5.2 is in the macosx-support-libs directory after setting up the environment, is there any extra steps I missed?

asked 14 Dec '13, 10:56

Jacul's gravatar image

accept rate: 0%

What does

pkg-config --libs --cflags Qt5Core

return? You might need to make sure /path/to/Qt5.2/clang_64/lib/pkgconfig is in PKG_CONFIG_PATH.

permanent link

answered 15 Dec '13, 13:00

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
accept rate: 24%

Thanks. It says QT5 is not included in the path. I exported the path of Qt5Core.pc to the PKG_CONFIG_PATH, now it passes. Now I have one other question, Qt5 should be already downloaded and ready to use, but it doesn't seem like that. Is there any other steps I am missing, say including some path in the environmental variable? Because I am now missing GTK+3 and I think potentially there are more.

(15 Dec '13, 13:23) Jacul
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Dec '13, 10:56

question was seen: 8,495 times

last updated: 15 Dec '13, 13:23

p​o​w​e​r​e​d by O​S​Q​A