Opened 14 years ago

Closed 14 years ago

#25643 closed defect (fixed)

kdelibs4 fails to configure on os x 10.6.4

Reported by: mmc@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: sharky@…, ryandesign (Ryan Carsten Schmidt), deon@…, nerdrew@…
Port: kdelibs4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to install kdenlive and am running into problems installing kdelibs4. The tag end of the log reads:

:info:configure -- Configuring incomplete, errors occurred!
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdelibs-4.4.5 -DWITH_ENCHANT=ON -DWITH_Soprano=ON -DWITH_Avahi=ON -DKDE_DEFAULT_HOME=Library/Preferences/KDE -DHSPELL_INCLUDE_DIR=/opt/local/include/hunspell/ -DHSPELL_LIB_DIR=/opt/local/lib/ -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/lib/phonon.framework/ -DLIBXSLT_INCLUDE_DIR=/opt/local/include/ -DLIBXSLT_LIBRARIES=/opt/local/lib/libxslt.dylib -DLIBEXSLT_LIBRARIES=/opt/local/lib/libexslt.dylib -DWITH_FAM=OFF -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed
:debug:configure Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for kdelibs4): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install

I've attached a .gz file with the whole log.

I'm a newbie and don't know much - just trying to get a video editor working.

Thanks for any help!
Matthew

Attachments (2)

main.log.gz (1.0 KB) - added by mmc@… 14 years ago.
log for sudo port install kdelibs4
main.log (149.3 KB) - added by mmc@… 14 years ago.
raw log file

Download all attachments as: .zip

Change History (13)

Changed 14 years ago by mmc@…

Attachment: main.log.gz added

log for sudo port install kdelibs4

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… ryandesign@… added
Description: modified (diff)
Keywords: kdelibs4 removed
Owner: changed from macports-tickets@… to snc@…

Don't forget WikiFormatting, and to Cc the port's maintainers so they see your ticket.

Please reattach the log; the file you attached appears to contain only null bytes.

Changed 14 years ago by mmc@…

Attachment: main.log added

raw log file

comment:2 Changed 14 years ago by deon@…

Cc: deon@… added

Cc Me!

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks for attaching the full log. I don't see what it's having trouble with. I'll have to leave it to the maintainer to figure out.

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Status: newassigned
:info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/FindHSPELL.cmake:32 (FILE):
1784	:info:configure   file Internal CMake error when trying to open file:
1785	:info:configure   /opt/local/include/hunspell/hspell.h for reading.
1786	:info:configure Call Stack (most recent call first):
1787	:info:configure   cmake/modules/MacroOptionalFindPackage.cmake:19 (find_package)
1788	:info:configure   sonnet/plugins/CMakeLists.txt:15 (macro_optional_find_package)
1789	:info:configure
1790	:info:configure
1791	:info:configure -- Could NOT find HSPELL  (missing:  HSPELL_LIBRARIES)

comment:5 in reply to:  4 Changed 14 years ago by mmc@…

Replying to snc@…:

Thanks, snc - bany idea where I mind find hspell.h?

I did a port install hunspell but there's no resulting hspell.h. There's an hunspell.h.

ls -l /opt/local/include/hunspell
total 176
-rwxrwxrwx  2 root  admin  4415 Jul 11 16:56 affentry.hxx
-rwxrwxrwx  2 root  admin  9522 Jul 11 16:56 affixmgr.hxx
-rwxrwxrwx  2 root  admin  1840 Jul 11 16:56 atypes.hxx
-rwxrwxrwx  2 root  admin   535 Jul 11 16:56 baseaffix.hxx
-rwxrwxrwx  2 root  admin  6200 Jul 11 16:56 csutil.hxx
-rwxrwxrwx  2 root  admin   584 Jul 11 16:56 dictmgr.hxx
-rwxrwxrwx  2 root  admin   453 Jul 11 16:56 filemgr.hxx
-rwxrwxrwx  2 root  admin  2228 Jul 11 16:56 hashmgr.hxx
-rwxrwxrwx  2 root  admin   921 Jul 11 16:56 htypes.hxx
-rwxrwxrwx  2 root  admin  2979 Jul 11 16:56 hunspell.h
-rwxrwxrwx  2 root  admin  5607 Jul 11 16:56 hunspell.hxx
-rwxrwxrwx  2 root  admin  1036 Jul 11 16:56 hunzip.hxx
-rwxrwxrwx  2 root  admin   528 Jul 11 16:56 langnum.hxx
-rwxrwxrwx  2 root  admin  1542 Jul 11 16:56 phonet.hxx
-rwxrwxrwx  2 root  admin   442 Jul 11 16:56 replist.hxx
-rwxrwxrwx  2 root  admin  3831 Jul 11 16:56 suggestmgr.hxx
-rwxrwxrwx  2 root  admin   271 Jul 11 16:56 w_char.hxx

Thanks for any further hints!

Matthew

:info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/FindHSPELL.cmake:32 (FILE):
1784	:info:configure   file Internal CMake error when trying to open file:
1785	:info:configure   /opt/local/include/hunspell/hspell.h for reading.
1786	:info:configure Call Stack (most recent call first):
1787	:info:configure   cmake/modules/MacroOptionalFindPackage.cmake:19 (find_package)
1788	:info:configure   sonnet/plugins/CMakeLists.txt:15 (macro_optional_find_package)
1789	:info:configure
1790	:info:configure
1791	:info:configure -- Could NOT find HSPELL  (missing:  HSPELL_LIBRARIES)

comment:6 Changed 14 years ago by nerdling (Jeremy Lavergne)

Right now I'm figuring out if hspell == hunspell. Confusingly similar, not very different.

comment:7 Changed 14 years ago by nerdrew@…

Remove lines 58 and 59 from the Portfile

-DHSPELL_INCLUDE_DIR=${prefix}/include/hunspell/ \
-DHSPELL_LIB_DIR=${prefix}/lib/ \

I don't know how to enable hunspell in KDE. It might be in with Enchant anyway.

/opt/local/include/hunspell/hspell.h is the file it is choking on. I think it sees that hspell.h and thinks it is from the hspell package (a hebrew spell checker).

comment:8 Changed 14 years ago by nerdrew@…

Cc: nerdrew@… added

Cc Me!

comment:9 in reply to:  7 Changed 14 years ago by nerdrew@…

Replying to nerdrew@…:

Remove lines 58 and 59 from the Portfile

-DHSPELL_INCLUDE_DIR=${prefix}/include/hunspell/ \
-DHSPELL_LIB_DIR=${prefix}/lib/ \

Removing the HSPELL options above allowed me to compile, though I haven't tested anything.

comment:10 Changed 14 years ago by nerdling (Jeremy Lavergne)

Alrighty, I'll nuke it and disable hspell.

comment:11 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Disabled in r69721.

Note: See TracTickets for help on using tickets.