DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st October 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default Problem upgrading Koffice

Ive had this error while trying to upgrade Koffice for a while. I havent tried to un-install and re-install it. I dont find this error or a solution to it searching.

Code:
r_import.Tpo" -c -o kis_openexr_import.lo kis_openexr_import.cpp; \
        then mv -f ".deps/kis_openexr_import.Tpo" ".deps/kis_openexr_import.Plo"; else rm -f ".deps/                       kis_openexr_import.Tpo"; exit 1; fi
kis_openexr_import.cpp:28:25: error: ImfRgbaFile.h: No such file or directory
In file included from ../../../krita/sdk/kis_global.h:23,
                 from ../../../krita/core/kis_image.h:35,
                 from kis_openexr_import.cpp:39:
/usr/local/include/lcms.h:146:5: warning: "TARGET_CPU_PPC" is not defined
/usr/local/include/lcms.h:150:5: warning: "macintosh" is not defined
/usr/local/include/lcms.h:156:5: warning: "__BIG_ENDIAN__" is not defined
In file included from ../../../krita/sdk/kis_global.h:23,
                 from ../../../krita/core/kis_image.h:35,
                 from kis_openexr_import.cpp:39:
/usr/local/include/lcms.h: In function 'void* _cmsMalloc(size_t)':
/usr/local/include/lcms.h:1410: warning: comparison of unsigned expression < 0 is always false
kis_openexr_import.cpp: At global scope:
kis_openexr_import.cpp:51: error: 'Imf' is not a namespace-name
kis_openexr_import.cpp:51: error: expected namespace-name before ';' token
kis_openexr_import.cpp:52: error: 'Imath' is not a namespace-name
kis_openexr_import.cpp:52: error: expected namespace-name before ';' token
kis_openexr_import.cpp: In member function 'virtual KoFilter::ConversionStatus KisOpenEXRImport::con                       vert(const QCString&, const QCString&)':
kis_openexr_import.cpp:86: error: 'RgbaInputFile' was not declared in this scope
kis_openexr_import.cpp:86: error: expected `;' before 'file'
kis_openexr_import.cpp:87: error: 'Box2i' was not declared in this scope
kis_openexr_import.cpp:87: error: expected `;' before 'dataWindow'
kis_openexr_import.cpp:88: error: expected `;' before 'displayWindow'
kis_openexr_import.cpp:90: error: 'dataWindow' was not declared in this scope
kis_openexr_import.cpp:91: error: 'displayWindow' was not declared in this scope
kis_openexr_import.cpp:121: error: 'Rgba' was not declared in this scope
kis_openexr_import.cpp:121: error: template argument 1 is invalid
kis_openexr_import.cpp:121: error: invalid type in declaration before '(' token
kis_openexr_import.cpp:125: error: 'file' was not declared in this scope
kis_openexr_import.cpp:125: error: request for member 'data' in 'pixels', which is of non-class type                        'int'
kis_openexr_import.cpp:129: error: 'rgba' was not declared in this scope
kis_openexr_import.cpp:129: error: request for member 'data' in 'pixels', which is of non-class type                        'int'
gmake[4]: *** [kis_openexr_import.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.3/filters/krita/openex                       r'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.3/filters/krita'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.3/filters'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/editors/koffice-kde3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.89329.0 env UPGRADE_TOOL=portu                       pgrade UPGRADE_PORT=koffice-1.6.3_6,2 UPGRADE_PORT_VER=1.6.3_6,2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! editors/koffice-kde3 (koffice-1.6.3_6,2)      (missing header)
Reply With Quote
  #2   (View Single Post)  
Old 1st October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

How old is your installation of koffice and OpenEXR? This looks like a problem with OpenEXR/ilmbase.

Look at the 20071008 entry of /usr/ports/UPDATING for upgrading these.

Or if OpenEXR/ilmbase are not installed, install them.
# cd /usr/ports/graphics/OpenEXR/ && make install clean
(OpenEXR will pull in ilmbase as a dependency)
Reply With Quote
  #3   (View Single Post)  
Old 1st October 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Quote:
Originally Posted by BSDKaffee View Post
How old is your installation of koffice and OpenEXR? This looks like a problem with OpenEXR/ilmbase.

Look at the 20071008 entry of /usr/ports/UPDATING for upgrading these.

Or if OpenEXR/ilmbase are not installed, install them.
# cd /usr/ports/graphics/OpenEXR/ && make install clean
(OpenEXR will pull in ilmbase as a dependency)
I appear to have both of these installed.

Code:
]# pkg_info |grep OpenEXR
OpenEXR-1.6.1_1     A high dynamic-range (HDR) image file format
Code:
# pkg_info |grep ilmbase
ilmbase-1.0.1_1     ILM Base libraries a.k.a. Half, IlmThread, Imath and Iex
Reply With Quote
  #4   (View Single Post)  
Old 2nd October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

Quote:
Code:
kis_openexr_import.cpp:28:25: error: ImfRgbaFile.h: No such file or directory
It appears you are missing headers for OpenEXR. Try reinstalling ilmbase then reinstall OpenEXR. Does /usr/local/include/OpenEXR/ImfRgbaFile.h exist?
Reply With Quote
  #5   (View Single Post)  
Old 2nd October 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Thanks guys. That worked. I had to uninstall and re-install OpenEXR. Even when I uninstalled it, it said that some things were missing.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading CPU Calderon FreeBSD General 3 29th March 2009 06:22 PM
Upgrading from KDE 3.5 to KDE 4.1 ebzzry FreeBSD Ports and Packages 15 28th January 2009 05:03 AM
upgrading/new hardware from 4.0 knasbas OpenBSD Installation and Upgrading 1 7th January 2009 02:55 AM
Problem with upgrading php5-pcre and php5-mysql KernelPanic FreeBSD Ports and Packages 6 16th June 2008 10:00 PM
Upgrading /usr/ports ClaptonOrient FreeBSD Installation and Upgrading 11 12th May 2008 10:17 AM


All times are GMT. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick