chris2511 / xca

X Certificate and Key management
http://xca.hohnstaedt.de
Other
1.44k stars 197 forks source link

Build is failing... #34

Closed cbwilliamsnh closed 6 years ago

cbwilliamsnh commented 6 years ago

I'm in a situation where I can't download and run the xca tool as my company's security policy only allows App Store and Identified apps to run on my MacBook.

Therefore, I've cloned the repo and I'm trying to build my own copy of XCA. First, there is not a 'configure' file that is executable in the clone, but there is a configure.w32 file that is executable so I'm trying to run that one.

Here is the output from my attempt at running ./configure.w32:

$ ./configure.w32 found /usr/local/Cellar/openssl/1.0.2o_1/lib/libcrypto.a NOT found /usr/local/Cellar/openssl/1.0.2o_1/lib/libltdl.a found /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/opensslv.h NOT found /usr/local/Cellar/openssl/1.0.2o_1/include/ltdl.h QT: '/usr/local/Cellar/qt@4/4.8.7_3'

How can I resolve this issue?

Chuck

cbwilliamsnh commented 6 years ago

well it just dawned on me that the '.w32' is to build a Windows 32-bit version. So, back to the original question as to why the configure script is missing from the repo?

Chuck

chris2511 commented 6 years ago

The cloned repository does not have the "configure" file. It is generated by the GNU autotools from configure.ac. The https://github.com/chris2511/xca/releases/download/RELEASE.2.0.1/xca-2.0.1.tar.gz file comes with a "configure" file. You also need OpenSSL, QT5 and libltdl.

I need to update the "INSTALL.mac" file, it is outdated and not very helpful :-/

This is what you need to do: (Sorry, I'm a unix console guy, so this is console centric :-)

  1. create a basedir: "xca"
  2. unpack xca-2.0.1.tar.gz there
  3. download Qt5 and install it in your home directory.
  4. open "misc/build-mac.sh" in the xca-2.0.1 directory, check the QTDIR variable there and adapt it.
  5. go to the "xca" basedir, create an empty file called "build-libs" and call "xca-2.0.1/misc/build-mac.sh"
  6. This will download and compile openssl and libltdl and then compile xca Good luck
cbwilliamsnh commented 6 years ago

Chris,

Thank you for your prompt reply!

I've downloaded the release and I'm trying to build the executable. Here's the output:

$ ./configure && make -j4 configure: ***** configure: * X Certificate and Key management 2.0.1 configure: *** checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for strip... strip Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 configure: Mac OSX High-Sierra detected checking for pkg-config... no checking for OpenSSL... no configure: WARNING: OpenSSL pkg-config failed, using fallback defaults ( -lcrypto ) checking for Qt5... no checking for Qt4... no configure: WARNING: Qt pkg-config failed, using fallback defaults ( -framework QtGui -framework QtCore -framework QtWidgets -framework QtSql -Xlinker -rpath -Xlinker /lib) checking for lrelease-qt... no checking for lrelease... /usr/local/bin/lrelease checking for lconvert-qt... no checking for lconvert... /usr/local/bin/lconvert checking for rcc-qt... no checking for rcc... /usr/local/bin/rcc checking for macdeployqt... /usr/local/bin/macdeployqt checking for lt_dlopen in -lltdl... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes Unable to execute a freshly compiled application, maybe you have to adjust your LD_LIBRARY_PATH or /etc/ld.so.conf checking for GNU make... make configure: A usable 'make' executable was found in /usr/bin/make checking for linuxdoc... no checking for sgml2html... no configure: WARNING: 'linuxdoc' or 'sgml2html' not found, using pre-compiled documentation configure: creating ./config.status config.status: creating Local.mak config.status: creating local.h config.status: local.h is unchanged configure: creating ./config.status config.status: creating Local.mak config.status: creating misc/Info.plist config.status: creating local.h config.status: local.h is unchanged GEN commithash.h UIC [ui] ui_CaProperties.h make[1]: /bin/uic: No such file or directory make[1]: * [ui_CaProperties.h] Error 1 make: [do.ui] Error 2 make: Waiting for unfinished jobs.... make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!

I have qt installed via homebrew:

$ brew list qt@4 /usr/local/Cellar/qt@4/4.8.7_3/Assistant.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/bin/lconvert /usr/local/Cellar/qt@4/4.8.7_3/bin/lrelease /usr/local/Cellar/qt@4/4.8.7_3/bin/lupdate /usr/local/Cellar/qt@4/4.8.7_3/bin/macdeployqt /usr/local/Cellar/qt@4/4.8.7_3/bin/moc /usr/local/Cellar/qt@4/4.8.7_3/bin/qcollectiongenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qdoc3 /usr/local/Cellar/qt@4/4.8.7_3/bin/qhelpgenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qmake /usr/local/Cellar/qt@4/4.8.7_3/bin/qmlplugindump /usr/local/Cellar/qt@4/4.8.7_3/bin/qt3to4 /usr/local/Cellar/qt@4/4.8.7_3/bin/rcc /usr/local/Cellar/qt@4/4.8.7_3/bin/uic /usr/local/Cellar/qt@4/4.8.7_3/bin/uic3 /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatterns /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatternsvalidator /usr/local/Cellar/qt@4/4.8.7_3/Designer.app/Contents/ (6 files) /usr/local/Cellar/qt@4/4.8.7_3/etc/qt4/ (568 files) /usr/local/Cellar/qt@4/4.8.7_3/include/QtUiTools/ (3 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/libQtCLucene.4.8.7.dylib /usr/local/Cellar/qt@4/4.8.7_3/lib/Qt3Support.framework/ (299 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtCore.framework/ (454 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDeclarative.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesigner.framework/ (84 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesignerComponents.framework/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtGui.framework/ (854 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtHelp.framework/ (26 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtMultimedia.framework/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtNetwork.framework/ (81 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtOpenGL.framework/ (33 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScript.framework/ (35 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScriptTools.framework/ (8 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSql.framework/ (67 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSvg.framework/ (14 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtTest.framework/ (56 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXml.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXmlPatterns.framework/ (36 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/pkgconfig/ (20 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/qt4/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/ (8 other files) /usr/local/Cellar/qt@4/4.8.7_3/Linguist.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/QMLViewer.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/qttracereplay.app/Contents/ (4 files) /usr/local/Cellar/qt@4/4.8.7_3/translations/ (100 files)

and openSSL installed via home-brew as well:

$ brew list openssl /usr/local/Cellar/openssl/1.0.2o_1/.bottle/etc/ (8 files) /usr/local/Cellar/openssl/1.0.2o_1/bin/c_rehash /usr/local/Cellar/openssl/1.0.2o_1/bin/openssl /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ (74 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/libcrypto.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/libssl.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/engines/ (12 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/pkgconfig/ (3 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/ (4 other files) /usr/local/Cellar/openssl/1.0.2o_1/share/man/ (1680 files)

What else am I missing?

Thank you in advance, Chuck

On Wed, May 9, 2018 at 3:09 PM, Christian Hohnstädt < notifications@github.com> wrote:

The cloned repository does not have the "configure" file. It is generated by the GNU autotools from configure.ac. The https://github.com/chris2511/ xca/releases/download/RELEASE.2.0.1/xca-2.0.1.tar.gz file comes with a "configure" file. You also need OpenSSL, QT5 and libltdl.

I need to update the "INSTALL.mac" file, it is outdated and not very helpful :-/

This is what you need to do: (Sorry, I'm a unix console guy, so this is console centric :-)

  1. create a basedir: "xca"
  2. unpack xca-2.0.1.tar.gz there
  3. download Qt5 and install it in your home directory.
  4. open "misc/build-mac.sh" in the xca-2.0.1 directory, check the QTDIR variable there and adapt it.
  5. go to the "xca" basedir, create an empty file called "build-libs" and call "xca-2.0.1/misc/build-mac.sh"
  6. This will download and compile openssl and libltdl and then compile xca Good luck

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chris2511/xca/issues/34#issuecomment-387844167, or mute the thread https://github.com/notifications/unsubscribe-auth/AHotk7HMBhrG5EYaNC4I8M9Dnl40tUDUks5twz7OgaJpZM4T40T4 .

-- Chuck

cbwilliamsnh commented 6 years ago

ok, and I'm so frazzled today that I didn't read past the downloading of the release files. Let me finish the next steps, which I will have to do tomorrow as I can't get to the Qt5 download behind the firewall at the office.

Chuck

On Wed, May 9, 2018 at 3:19 PM, Chuck Williams cbwilliamsva@gmail.com wrote:

Chris,

Thank you for your prompt reply!

I've downloaded the release and I'm trying to build the executable. Here's the output:

$ ./configure && make -j4 configure: ***** configure: * X Certificate and Key management 2.0.1 configure: *** checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for strip... strip Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 configure: Mac OSX High-Sierra detected checking for pkg-config... no checking for OpenSSL... no configure: WARNING: OpenSSL pkg-config failed, using fallback defaults ( -lcrypto ) checking for Qt5... no checking for Qt4... no configure: WARNING: Qt pkg-config failed, using fallback defaults ( -framework QtGui -framework QtCore -framework QtWidgets -framework QtSql -Xlinker -rpath -Xlinker /lib) checking for lrelease-qt... no checking for lrelease... /usr/local/bin/lrelease checking for lconvert-qt... no checking for lconvert... /usr/local/bin/lconvert checking for rcc-qt... no checking for rcc... /usr/local/bin/rcc checking for macdeployqt... /usr/local/bin/macdeployqt checking for lt_dlopen in -lltdl... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes Unable to execute a freshly compiled application, maybe you have to adjust your LD_LIBRARY_PATH or /etc/ld.so.conf checking for GNU make... make configure: A usable 'make' executable was found in /usr/bin/make checking for linuxdoc... no checking for sgml2html... no configure: WARNING: 'linuxdoc' or 'sgml2html' not found, using pre-compiled documentation configure: creating ./config.status config.status: creating Local.mak config.status: creating local.h config.status: local.h is unchanged configure: creating ./config.status config.status: creating Local.mak config.status: creating misc/Info.plist config.status: creating local.h config.status: local.h is unchanged GEN commithash.h UIC [ui] ui_CaProperties.h make[1]: /bin/uic: No such file or directory make[1]: * [ui_CaProperties.h] Error 1 make: [do.ui] Error 2 make: Waiting for unfinished jobs.... make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!

I have qt installed via homebrew:

$ brew list qt@4 /usr/local/Cellar/qt@4/4.8.7_3/Assistant.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/bin/lconvert /usr/local/Cellar/qt@4/4.8.7_3/bin/lrelease /usr/local/Cellar/qt@4/4.8.7_3/bin/lupdate /usr/local/Cellar/qt@4/4.8.7_3/bin/macdeployqt /usr/local/Cellar/qt@4/4.8.7_3/bin/moc /usr/local/Cellar/qt@4/4.8.7_3/bin/qcollectiongenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qdoc3 /usr/local/Cellar/qt@4/4.8.7_3/bin/qhelpgenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qmake /usr/local/Cellar/qt@4/4.8.7_3/bin/qmlplugindump /usr/local/Cellar/qt@4/4.8.7_3/bin/qt3to4 /usr/local/Cellar/qt@4/4.8.7_3/bin/rcc /usr/local/Cellar/qt@4/4.8.7_3/bin/uic /usr/local/Cellar/qt@4/4.8.7_3/bin/uic3 /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatterns /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatternsvalidator /usr/local/Cellar/qt@4/4.8.7_3/Designer.app/Contents/ (6 files) /usr/local/Cellar/qt@4/4.8.7_3/etc/qt4/ (568 files) /usr/local/Cellar/qt@4/4.8.7_3/include/QtUiTools/ (3 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/libQtCLucene.4.8.7.dylib /usr/local/Cellar/qt@4/4.8.7_3/lib/Qt3Support.framework/ (299 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtCore.framework/ (454 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDeclarative.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesigner.framework/ (84 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesignerComponents.framework/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtGui.framework/ (854 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtHelp.framework/ (26 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtMultimedia.framework/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtNetwork.framework/ (81 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtOpenGL.framework/ (33 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScript.framework/ (35 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScriptTools.framework/ (8 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSql.framework/ (67 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSvg.framework/ (14 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtTest.framework/ (56 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXml.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXmlPatterns.framework/ (36 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/pkgconfig/ (20 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/qt4/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/ (8 other files) /usr/local/Cellar/qt@4/4.8.7_3/Linguist.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/QMLViewer.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/qttracereplay.app/Contents/ (4 files) /usr/local/Cellar/qt@4/4.8.7_3/translations/ (100 files)

and openSSL installed via home-brew as well:

$ brew list openssl /usr/local/Cellar/openssl/1.0.2o_1/.bottle/etc/ (8 files) /usr/local/Cellar/openssl/1.0.2o_1/bin/c_rehash /usr/local/Cellar/openssl/1.0.2o_1/bin/openssl /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ (74 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/libcrypto.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/libssl.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/engines/ (12 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/pkgconfig/ (3 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/ (4 other files) /usr/local/Cellar/openssl/1.0.2o_1/share/man/ (1680 files)

What else am I missing?

Thank you in advance, Chuck

On Wed, May 9, 2018 at 3:09 PM, Christian Hohnstädt < notifications@github.com> wrote:

The cloned repository does not have the "configure" file. It is generated by the GNU autotools from configure.ac. The https://github.com/chris2511/xca/releases/download/RELEASE.2 .0.1/xca-2.0.1.tar.gz file comes with a "configure" file. You also need OpenSSL, QT5 and libltdl.

I need to update the "INSTALL.mac" file, it is outdated and not very helpful :-/

This is what you need to do: (Sorry, I'm a unix console guy, so this is console centric :-)

  1. create a basedir: "xca"
  2. unpack xca-2.0.1.tar.gz there
  3. download Qt5 and install it in your home directory.
  4. open "misc/build-mac.sh" in the xca-2.0.1 directory, check the QTDIR variable there and adapt it.
  5. go to the "xca" basedir, create an empty file called "build-libs" and call "xca-2.0.1/misc/build-mac.sh"
  6. This will download and compile openssl and libltdl and then compile xca Good luck

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chris2511/xca/issues/34#issuecomment-387844167, or mute the thread https://github.com/notifications/unsubscribe-auth/AHotk7HMBhrG5EYaNC4I8M9Dnl40tUDUks5twz7OgaJpZM4T40T4 .

-- Chuck

-- Chuck

cbwilliamsnh commented 6 years ago

Christian,

Here's where I am now. Here are the last lines of the output from the build-mac.sh script:

CC [widgets] CertTreeView.o CC [lib] moc_main.o CC [widgets] OidResolver.o CC [widgets] OpenDb.o CC [widgets] NewX509_ext.o CC [widgets] MW_menu.o CC [widgets] MW_help.o DONE [lib] CC [widgets] MW_database.o DONE [widgets] LINK xca WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant. ERROR: no file at "/usr/local/mysql/lib/libmysqlclient.20.dylib" ERROR: no file at "/Applications/Postgres.app/Contents/Versions/9.6/lib/libpq.5.dylib" error: The specified item could not be found in the keychain.

What's next?

Chuck

p.s. I'm a Java programmer at heart, but I can do the console stuff too (just not the C languages!)

On Wed, May 9, 2018 at 3:26 PM, Chuck Williams cbwilliamsva@gmail.com wrote:

ok, and I'm so frazzled today that I didn't read past the downloading of the release files. Let me finish the next steps, which I will have to do tomorrow as I can't get to the Qt5 download behind the firewall at the office.

Chuck

On Wed, May 9, 2018 at 3:19 PM, Chuck Williams cbwilliamsva@gmail.com wrote:

Chris,

Thank you for your prompt reply!

I've downloaded the release and I'm trying to build the executable. Here's the output:

$ ./configure && make -j4 configure: ***** configure: * X Certificate and Key management 2.0.1 configure: *** checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for strip... strip Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 configure: Mac OSX High-Sierra detected checking for pkg-config... no checking for OpenSSL... no configure: WARNING: OpenSSL pkg-config failed, using fallback defaults ( -lcrypto ) checking for Qt5... no checking for Qt4... no configure: WARNING: Qt pkg-config failed, using fallback defaults ( -framework QtGui -framework QtCore -framework QtWidgets -framework QtSql -Xlinker -rpath -Xlinker /lib) checking for lrelease-qt... no checking for lrelease... /usr/local/bin/lrelease checking for lconvert-qt... no checking for lconvert... /usr/local/bin/lconvert checking for rcc-qt... no checking for rcc... /usr/local/bin/rcc checking for macdeployqt... /usr/local/bin/macdeployqt checking for lt_dlopen in -lltdl... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes Unable to execute a freshly compiled application, maybe you have to adjust your LD_LIBRARY_PATH or /etc/ld.so.conf checking for GNU make... make configure: A usable 'make' executable was found in /usr/bin/make checking for linuxdoc... no checking for sgml2html... no configure: WARNING: 'linuxdoc' or 'sgml2html' not found, using pre-compiled documentation configure: creating ./config.status config.status: creating Local.mak config.status: creating local.h config.status: local.h is unchanged configure: creating ./config.status config.status: creating Local.mak config.status: creating misc/Info.plist config.status: creating local.h config.status: local.h is unchanged GEN commithash.h UIC [ui] ui_CaProperties.h make[1]: /bin/uic: No such file or directory make[1]: * [ui_CaProperties.h] Error 1 make: [do.ui] Error 2 make: Waiting for unfinished jobs.... make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!

I have qt installed via homebrew:

$ brew list qt@4 /usr/local/Cellar/qt@4/4.8.7_3/Assistant.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/bin/lconvert /usr/local/Cellar/qt@4/4.8.7_3/bin/lrelease /usr/local/Cellar/qt@4/4.8.7_3/bin/lupdate /usr/local/Cellar/qt@4/4.8.7_3/bin/macdeployqt /usr/local/Cellar/qt@4/4.8.7_3/bin/moc /usr/local/Cellar/qt@4/4.8.7_3/bin/qcollectiongenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qdoc3 /usr/local/Cellar/qt@4/4.8.7_3/bin/qhelpgenerator /usr/local/Cellar/qt@4/4.8.7_3/bin/qmake /usr/local/Cellar/qt@4/4.8.7_3/bin/qmlplugindump /usr/local/Cellar/qt@4/4.8.7_3/bin/qt3to4 /usr/local/Cellar/qt@4/4.8.7_3/bin/rcc /usr/local/Cellar/qt@4/4.8.7_3/bin/uic /usr/local/Cellar/qt@4/4.8.7_3/bin/uic3 /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatterns /usr/local/Cellar/qt@4/4.8.7_3/bin/xmlpatternsvalidator /usr/local/Cellar/qt@4/4.8.7_3/Designer.app/Contents/ (6 files) /usr/local/Cellar/qt@4/4.8.7_3/etc/qt4/ (568 files) /usr/local/Cellar/qt@4/4.8.7_3/include/QtUiTools/ (3 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/libQtCLucene.4.8.7.dylib /usr/local/Cellar/qt@4/4.8.7_3/lib/Qt3Support.framework/ (299 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtCore.framework/ (454 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDeclarative.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesigner.framework/ (84 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtDesignerComponents.framework/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtGui.framework/ (854 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtHelp.framework/ (26 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtMultimedia.framework/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtNetwork.framework/ (81 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtOpenGL.framework/ (33 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScript.framework/ (35 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtScriptTools.framework/ (8 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSql.framework/ (67 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtSvg.framework/ (14 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtTest.framework/ (56 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXml.framework/ (52 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/QtXmlPatterns.framework/ (36 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/pkgconfig/ (20 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/qt4/ (31 files) /usr/local/Cellar/qt@4/4.8.7_3/lib/ (8 other files) /usr/local/Cellar/qt@4/4.8.7_3/Linguist.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/QMLViewer.app/Contents/ (5 files) /usr/local/Cellar/qt@4/4.8.7_3/qttracereplay.app/Contents/ (4 files) /usr/local/Cellar/qt@4/4.8.7_3/translations/ (100 files)

and openSSL installed via home-brew as well:

$ brew list openssl /usr/local/Cellar/openssl/1.0.2o_1/.bottle/etc/ (8 files) /usr/local/Cellar/openssl/1.0.2o_1/bin/c_rehash /usr/local/Cellar/openssl/1.0.2o_1/bin/openssl /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ (74 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/libcrypto.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/libssl.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2o_1/lib/engines/ (12 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/pkgconfig/ (3 files) /usr/local/Cellar/openssl/1.0.2o_1/lib/ (4 other files) /usr/local/Cellar/openssl/1.0.2o_1/share/man/ (1680 files)

What else am I missing?

Thank you in advance, Chuck

On Wed, May 9, 2018 at 3:09 PM, Christian Hohnstädt < notifications@github.com> wrote:

The cloned repository does not have the "configure" file. It is generated by the GNU autotools from configure.ac. The https://github.com/chris2511/xca/releases/download/RELEASE.2 .0.1/xca-2.0.1.tar.gz file comes with a "configure" file. You also need OpenSSL, QT5 and libltdl.

I need to update the "INSTALL.mac" file, it is outdated and not very helpful :-/

This is what you need to do: (Sorry, I'm a unix console guy, so this is console centric :-)

  1. create a basedir: "xca"
  2. unpack xca-2.0.1.tar.gz there
  3. download Qt5 and install it in your home directory.
  4. open "misc/build-mac.sh" in the xca-2.0.1 directory, check the QTDIR variable there and adapt it.
  5. go to the "xca" basedir, create an empty file called "build-libs" and call "xca-2.0.1/misc/build-mac.sh"
  6. This will download and compile openssl and libltdl and then compile xca Good luck

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chris2511/xca/issues/34#issuecomment-387844167, or mute the thread https://github.com/notifications/unsubscribe-auth/AHotk7HMBhrG5EYaNC4I8M9Dnl40tUDUks5twz7OgaJpZM4T40T4 .

-- Chuck

-- Chuck

-- Chuck

chris2511 commented 6 years ago

After that everything should be fine.

cbwilliamsnh commented 6 years ago

It worked and it runs!

Thank you again for all your help!!

Chuck Williams

On May 10, 2018, 7:31 AM -0400, Christian Hohnstädt notifications@github.com, wrote:

• ERROR: no file at "/usr/local/....." can be ignored • "error: The specified item could not be found in the keychain." Means that you don't possess my private code-signing key, which is fine for me :-) You may comment out the "codesign" line in the toplevel Makefile at line 160

After that everything should be fine. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.