Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compile problem ??
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roberto Tempesti  
View profile  
 More options Jan 18, 5:47 am
Newsgroups: comp.unix.bsd.freebsd.misc
From: "Roberto Tempesti" <roberto.tempe...@nospam.com>
Date: Wed, 18 Jan 2012 11:47:18 +0100
Local: Wed, Jan 18 2012 5:47 am
Subject: Compile problem ??
Hi all,

it's my first time with FreeBSD (8.2 on i386 platform). I'm  trying  to
build a "pdfbox" whit two applications:

a) GhostScript - to convert PDF files into PCL (HP language)
b) GhostPDL - to convert PCL files into PDF

no problem with GhostScript because installation by "pkg_add -r ghostscript"
downloads and install binaries so no compilation is needed.
GhostPDL, however, is quite difficult for me because binaries are not
available. So I downloaded sources and tried building with "gmake".
After a long compilation time I got many messages e.g.:
/obj/pglabel.o(.text+0x1915): in funcion 'hpgl_process_buffer': undefined
reference to 'hypot'.
I'm not a "c" programmer but I know what 'hypot' means and watching inside
the "pglabel.c" source I saw that there were these includes:
#include    "math_.h"
#include    "memory_.h"
#include    "ctype_.h"
#include    "stdio_.h"
I think they are customized versions of standard headers; by the way I found
these header's versions in the directory:
/usr/local/src/ghostpdl-8.71/gs/base
but this directory it isn't in PATH environment's variable.

I tried to add this directory to PATH through "tcsh" shell without success
(perhaps it's my fault).
How can I do ??? Can you help me with simple words??

I thank you in advance and pls don't be rude with this "old guy".

P.S. Sorry for my terrible English


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lowell Gilbert  
View profile  
 More options Jan 20, 8:54 pm
Newsgroups: comp.unix.bsd.freebsd.misc
From: Lowell Gilbert <lguse...@be-well.ilk.org>
Date: Fri, 20 Jan 2012 20:54:18 -0500
Local: Fri, Jan 20 2012 8:54 pm
Subject: Re: Compile problem ??

Have you tried using the ports collection? [Documented in the FreeBSD
Handbook as well as "man ports"] It currently includes a port of pdfbox.

If I am reading the dates correctly, you will need to update your ports
tree (pdfbox has been added to the ports system since the release of
8.2). This, also, is covered in the Handbook.

> I thank you in advance and pls don't be rude with this "old guy".

I'm not clear on what qualifies as "old." I would have a grey beard
myself, if I had grown it out this year.

> P.S. Sorry for my terrible English

If it's not your primary language, then I congratulate you on doing well
with it. I cannot do as well in any language *other* than English.

--
Lowell Gilbert, embedded/networking software engineer
         http://be-well.ilk.org/~lowell/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Tempesti  
View profile  
 More options Jan 23, 6:12 am
Newsgroups: comp.unix.bsd.freebsd.misc
From: "Roberto Tempesti" <roberto.tempe...@nospam.com>
Date: Mon, 23 Jan 2012 12:12:17 +0100
Local: Mon, Jan 23 2012 6:12 am
Subject: Re: Compile problem ??

"Lowell Gilbert" <lguse...@be-well.ilk.org> ha scritto nel messaggio
news:448vl1lt11.fsf@lowell-desk.lan...

Hi Gilbert,

thank you for your answer.

Maybe it was a misunderstanding (my fault!). I don't try to compile "pdfbox"
Java library. "pdfbox" it's the name that I gave to the hardware box.

I tried to compile GhostPDL that doesn't have a ports but only sources to be
compile.

However i discovery where is the error:

it was my "typo" mistake inside Makefile. I wrote +STFLIBS=-lm -lpthread
instead +STDLIBS=-lm -lpthread

Now it works!

Thank you


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »