Changes between Initial Version and Version 1 of Ticket #49248
- Timestamp:
- Oct 13, 2015, 5:55:45 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49248
- Property Owner changed from macports-tickets@… to ryandesign@…
-
Ticket #49248 – Description
initial v1 3 3 I am using the following command to install mkvtoolnix: 4 4 5 {{{ 5 6 $ sudo port install mkvtoolnix +wvwidgets 7 }}} 6 8 7 1 -libebml required "port install -s" to build using the correct cxx_stdlib for mkvtoolnix port despite macports.conf being set to always compile from source and to use libc++8 2 -mkvtoolnix does not build properly even with libebml compiled using correct version of libc++.9 1. libebml required "port install -s" to build using the correct cxx_stdlib for mkvtoolnix port despite macports.conf being set to always compile from source and to use libc++ 10 2. mkvtoolnix does not build properly even with libebml compiled using correct version of libc++. 9 11 10 12 Initially the installation was failing with a "symbol(s) not found for architecture x86_64" error relating to libebml. … … 14 16 I removed all my ports with: 15 17 18 {{{ 16 19 $ sudo port clean --all all 20 }}} 17 21 18 22 I set my macports.conf file with the following options: 19 23 24 {{{ 20 25 build_arch x86_64 21 26 universal_archs x86_64 i386 … … 23 28 buildfromsource always 24 29 delete_la_files yes 30 }}} 25 31 26 32 I did a selfupdate then reinstalled all my ports using the restore_ports.tcl script. 27 33 34 {{{ 28 35 $ sudo ./restore_ports.tcl myports.txt 36 }}} 29 37 30 38 Even after doing the above migration and libc++ steps, mkvtoolix still failed with the same error relating to libebml: 31 39 40 {{{ 32 41 <snip> 33 42 :info:build /usr/bin/clang++ -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64 -L/opt/local/lib -Llib/avilib-0.6.10 -Llib/librmff -Lsrc/common -Llib/pugixml/src -o src/mkvmerge src/merge/mkvmerge.o -Lsrc/merge -lmtxmerge -Lsrc/input -lmtxinput -Lsrc/output -lmtxoutput -Lsrc/merge -lmtxmerge -lmtxcommon -lmagic -lz -lmatroska -lebml -lz -lpugixml -liconv -lintl -L/opt/local/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -lboost_regex-mt -lboost_filesystem-mt -lboost_system-mt -lavi -lrmff -Lsrc/mpegparser -lmpegparser -lFLAC -logg -lm -lvorbis -logg … … 81 90 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log 82 91 <end> 92 }}} 83 93 84 94 I uninstalled and cleaned libeblm and associated packages: 85 95 96 {{{ 86 97 $ sudo port uninstall libmatroska libebml 87 98 $ sudo port clean --all libmatroska libebml 99 }}} 88 100 89 101 I then sucessfully reinstalled libebml etc with the "from source" flag on the command line: 90 102 103 {{{ 91 104 $ sudo port -s install libmatroska libebml 105 }}} 92 106 93 107 I attempted to install mkvtoolnix again: 94 108 109 {{{ 95 110 $ sudo port install mkvtoolnix +wvwidgets 96 111 }}} 112 97 113 This time it failed with a different error message: 98 114 115 {{{ 99 116 <snip> 100 117 /usr/bin/install -c -m 644 po/zh_CN.mo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/destroot/opt/local/share/locale/zh_CN/LC_MESSAGES/mkvtoolnix.mo … … 109 126 bash-3.2$ 110 127 <end> 128 }}} 111 129 112 130 This indicates that the mmg application may not have built properly. The log file from this last installation attempt is attached.