Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42325 closed defect (duplicate)

kdelibs3: error: member access into incomplete type 'ipp_t' (aka '_ipp_s')

Reported by: msposato@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: kdelibs3

Description

I am fairly new to OSX and very new to MacPorts. I have a technical background so I hope to be able to complete whatever is necessary to get this running.

After a fresh install of MacPorts through the package installer on Mavericks, I am trying to install KMyMoney. I am using the command sudo port install kmymoney

It appears to be erroring out when trying to install kdelibs3. I have done a clean through this command sudo port clean kdelibs3 and then i tried installing again with the same result.

The terminal is showing the below errors:

----------------------------------------------------
Error: org.macports.build for port kdelibs3 returned: command execution failed
Error: Failed to install kdelibs3
Please see the log file for port kdelibs3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/main.log
Error: The following dependencies were not installed: kdelibs3 libofx opensp libtool makeicns
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kmymoney failed
------------------------------------------------------

I could use the -v command but then the logging is so robust I wasn't sure what to include. I have attached the main.log file from the location in the errors. I am not sure if that helps with the diagnosis.

Any direction would be greatly appreciated. Thanks.

Attachments (2)

main.log (1.7 MB) - added by msposato@… 10 years ago.
main.log
kmymoney_error.txt (47.9 KB) - added by msposato@… 10 years ago.
error file

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by msposato@…

Attachment: main.log added

main.log

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

Cc: ryandesign@… added
Keywords: kmymoney removed
Port: kdelibs3 added
Resolution: duplicate
Status: newclosed
Summary: Trying to install kmymoney on Mavericks OSXkdelibs3: error: member access into incomplete type 'ipp_t' (aka '_ipp_s')

The log says:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:632:10: error: member access into incomplete type 'ipp_t' (aka '_ipp_s')
:info:build         request_->request.op.operation_id = CUPS_GET_PRINTERS;
:info:build                 ^
:info:build /usr/include/cups/ipp.h:651:16: note: forward declaration of '_ipp_s'
:info:build typedef struct _ipp_s ipp_t;            /**** IPP request/response data ****/
:info:build                ^

So this is a duplicate of #41136.

The kmymoney port uses kdelibs3 which is very old and is not compatible with Mavericks right now, and might never be. Consider using the kmymoney4 port instead, which uses kdelibs4 which should work fine on Mavericks.

comment:2 Changed 10 years ago by msposato@…

thanks for the information. I saw that case but assumed running the command was installing the latest version of kmymoney. is there a command line install for kmymoney4?

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

sudo port install kmymoney4

comment:4 Changed 10 years ago by msposato@…

Thanks. I am giving that I try and now I think I might have messed things up with the partial install of kmymoney originally. I am getting an error trying to install qt4-mac because qt3-mac has conflicting ports. I tried cleaning both and running the install again and that didn't help.

Error: Unable to execute port: Can't install qt4-mac because conflicting ports are installed: qt3
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Correct, you cannot install qt4-mac and qt3 at the same time. Pick the one you want, and deactivate the other. qt3, like kdelibs4, is old and probably shouldn't be used anymore. Hopefully kmymoney was the only port you were trying to use that needed qt3. Try deactivating qt3:

sudo port deactivate qt3

If it complains that it cannot be deactivated because something else depends on it, deactivate that too, etc., until it lets you.

comment:6 in reply to:  5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

qt3, like kdelibs4, is old

Of course I meant "qt3, like kdelibs3, is old"

comment:7 Changed 10 years ago by msposato@…

Thanks again for all the help. That seemed to really help. It completed the install without any errors.

I went to Applications\MacPorts\KDE4\kmymoney and found the link for kmymoney. It starts to launch and then errors out without any information. Just comes up with an error saying that it quit unexpectedly. I attached the osx error but i don't think it will be helpful

Changed 10 years ago by msposato@…

Attachment: kmymoney_error.txt added

error file

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Have you started dbus? That's the only thing I can think of that you might have forgotten to do that would cause problems.

$ port notes kmymoney4
kmymoney4 has the following notes:
  Don't forget that dbus needs to be started as the local user (not with sudo) before any KDE programs will launch.
  To start it run the following command:
   launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
$ port notes dbus
dbus has the following notes:
  ############################################################################
  # Startup items have been generated that will aid in
  # starting dbus with launchd. They are disabled
  # by default. Execute the following commands to start them,
  # and to cause them to launch at startup:
  #
  # sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
  # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
  ############################################################################

comment:9 Changed 10 years ago by msposato@…

that was it. Thank you for all the help. I appreciate everything.

Seems to be up and running.

Note: See TracTickets for help on using tickets.