Re: flphoto for FreeBSD?

2003-10-06 Thread Herbert
On Mon, Oct 06, 2003 at 12:07:50PM +0200, Gabriel Striewe wrote:
> This is the output after unpacking flphoto-source-1.1.tar.bz2,
> ./configure and then gmake in the unpacked directory:
> 
> 
> Compiling export.cxx...
> export.cxx: In function `int export_jpeg(const char*, Fl_Shared_Image*, int, 
>int, int)':
> export.cxx:1049: aggregate `jpeg_compress_struct info' has incomplete type and 
>cannot be defined
> export.cxx:1050: aggregate `jpeg_error_mgr err' has incomplete type and cannot 
>be defined
> export.cxx:1065: `jpeg_std_error' undeclared (first use this function)
> export.cxx:1065: (Each undeclared identifier is reported only once for each 
>function it appears in.)
> export.cxx:1066: `jpeg_create_compress' undeclared (first use this function)
> export.cxx:1067: `jpeg_stdio_dest' undeclared (first use this function)
> export.cxx:1072: `JCS_GRAYSCALE' undeclared (first use this function)
> export.cxx:1072: `JCS_RGB' undeclared (first use this function)
> export.cxx:1074: `jpeg_set_defaults' undeclared (first use this function)
> export.cxx:1075: `jpeg_set_quality' undeclared (first use this function)
> export.cxx:1076: `jpeg_simple_progression' undeclared (first use this function)
> export.cxx:1081: `jpeg_start_compress' undeclared (first use this function)
> export.cxx:1088: `jpeg_write_scanlines' undeclared (first use this function)
> export.cxx:1092: `jpeg_finish_compress' undeclared (first use this function)
> export.cxx:1093: `jpeg_destroy_compress' undeclared (first use this function)
> gmake: *** [export.o] Error 1
> 
> fltk, as a requirement of flphoto, has previously been installed using the ports 
> collection, which was successfull
> 
> Thank you for any hints

First of all: please fix your MUA (mutt) to break lines after 72
characters!

Are your ports up-to-date? All those functions are defined in -ljpeg
(graphis/jpeg). Do you have graphics/png and graphics/jpeg installed?
Try to set LDFLAGS, CPPFLAGS and CXXFLAGS when running ./configure. Use
portupgrade to update your ports.

Herbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flphoto for FreeBSD?

2003-10-06 Thread Gabriel Striewe
On Sun, Oct 05, 2003 at 10:59:56PM -0500, Vulpes Velox wrote:
> On Mon, 6 Oct 2003 02:06:18 +0200
> Gabriel Striewe <[EMAIL PROTECTED]> wrote:
> 
> > Hello!
> > 
> > In the magazine Linux-User (http://www.linux-user.de) I came across the photo
> > editing programme "flphoto", written by cups-author Michael Sweets. This port
> > is not yet included in the ports collection.Anybody knows the reason for this?
> > I tried once to compile it via ./configure && make && make install, but got a
> > lot of syntax errors, and did not retry because I do not feel familiar with
> > C/C++
> 
> Providing some out put would be handy... I have found with many linux programs,
> some various paths need to be supplied to make it compile...

This is the output after unpacking flphoto-source-1.1.tar.bz2, ./configure and then 
gmake in the unpacked directory:


Compiling export.cxx...
export.cxx: In function `int export_jpeg(const char*, Fl_Shared_Image*, int, 
   int, int)':
export.cxx:1049: aggregate `jpeg_compress_struct info' has incomplete type and 
   cannot be defined
export.cxx:1050: aggregate `jpeg_error_mgr err' has incomplete type and cannot 
   be defined
export.cxx:1065: `jpeg_std_error' undeclared (first use this function)
export.cxx:1065: (Each undeclared identifier is reported only once for each 
   function it appears in.)
export.cxx:1066: `jpeg_create_compress' undeclared (first use this function)
export.cxx:1067: `jpeg_stdio_dest' undeclared (first use this function)
export.cxx:1072: `JCS_GRAYSCALE' undeclared (first use this function)
export.cxx:1072: `JCS_RGB' undeclared (first use this function)
export.cxx:1074: `jpeg_set_defaults' undeclared (first use this function)
export.cxx:1075: `jpeg_set_quality' undeclared (first use this function)
export.cxx:1076: `jpeg_simple_progression' undeclared (first use this function)
export.cxx:1081: `jpeg_start_compress' undeclared (first use this function)
export.cxx:1088: `jpeg_write_scanlines' undeclared (first use this function)
export.cxx:1092: `jpeg_finish_compress' undeclared (first use this function)
export.cxx:1093: `jpeg_destroy_compress' undeclared (first use this function)
gmake: *** [export.o] Error 1

fltk, as a requirement of flphoto, has previously been installed using the ports 
collection, which was successfull

Thank you for any hints

Gabriel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flphoto for FreeBSD?

2003-10-05 Thread Herbert
On Mon, Oct 06, 2003 at 02:06:18AM +0200, Gabriel Striewe wrote:

> In the magazine Linux-User (http://www.linux-user.de) I came across
> the photo editing programme "flphoto", written by cups-author Michael
> Sweets. This port is not yet included in the ports collection.Anybody
> knows the reason for this? I tried once to compile it via ./configure
> && make && make install, but got a lot of syntax errors, and did not
> retry because I do not feel familiar with C/C++
> 
> Any hints appreciated

Hei!

Yeah, use GNU make (gmake) instead of make. The program compiles here on
a 5.1-RELEASE system. 
If you want a port of flphoto create it yourself and send in a patch
(send-pr).

Herbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flphoto for FreeBSD?

2003-10-05 Thread Vulpes Velox
On Mon, 6 Oct 2003 02:06:18 +0200
Gabriel Striewe <[EMAIL PROTECTED]> wrote:

> Hello!
> 
> In the magazine Linux-User (http://www.linux-user.de) I came across the photo
> editing programme "flphoto", written by cups-author Michael Sweets. This port
> is not yet included in the ports collection.Anybody knows the reason for this?
> I tried once to compile it via ./configure && make && make install, but got a
> lot of syntax errors, and did not retry because I do not feel familiar with
> C/C++

Providing some out put would be handy... I have found with many linux programs,
some various paths need to be supplied to make it compile...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


flphoto for FreeBSD?

2003-10-05 Thread Gabriel Striewe
Hello!

In the magazine Linux-User (http://www.linux-user.de) I came across the photo editing 
programme "flphoto", written by cups-author Michael Sweets. This port is not yet 
included in the ports collection.Anybody knows the reason for this? I tried once to 
compile it via ./configure && make && make install, but got a lot of syntax errors, 
and did not retry because I do not feel familiar with C/C++

Any hints appreciated

Gabriel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"