Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-28 Thread Graeme Geldenhuys
On 01/27/13 15:35, Leonardo M. Ramé wrote:

 Pass -Fl/usr/local/lib in OPT=

 
 Thanks Marco, that did the trick!.


I had a similar problem for X11 apps recently. I simply modified my
~/.fpc.cfg file and specified -Fl/usr/local/lib inside there. Solved my
problem without too much fuss, and no need to modify compiler parameters
per project.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said:
  Pass -Fl/usr/local/lib in OPT=
 
  
  Thanks Marco, that did the trick!.
 
 I had a similar problem for X11 apps recently. I simply modified my
 ~/.fpc.cfg file and specified -Fl/usr/local/lib inside there. Solved my
 problem without too much fuss, and no need to modify compiler parameters
 per project.

The TAR installer and afaik the port should add this line to the config
already, so if your installation derives from that, it should be already
done.

But building fpc ignores (.)fpc.cfg, so it is not a solution anyway for the
reported problem.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-28 Thread Graeme Geldenhuys
On 01/28/13 11:45, Marco van de Voort wrote:
 
 The TAR installer and afaik the port should add this line to the config
 already,

I installed the stable FPC from the TAR installer, then installed the
fixes version from the repository. All done as a normal user, not root.


 But building fpc ignores (.)fpc.cfg, so it is not a solution anyway for the
 reported problem.

Thanks for correcting me, my mistake. Re-reading the original post, I
see he mentions compiling FPC itself. My message referred to compiling
my applications.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Freebsd 9.1 -liconv not found

2013-01-27 Thread Leonardo M . Ramé
I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've installed iconv 
and libiconv from ports, but /usr/bin/ld keeps complaining about cannot finding 
-liconv. 

Any hint?.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-27 Thread Jonas Maebe

On 27 Jan 2013, at 16:03, Leonardo M. Ramé wrote:

 I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've installed iconv 
 and libiconv from ports, but /usr/bin/ld keeps complaining about cannot 
 finding -liconv.

Install libiconv-dev, libiconv-devel or something like that.


Jonas___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-27 Thread Leonardo M . Ramé


 From: Jonas Maebe jonas.ma...@elis.ugent.be
To: FPC developers' list fpc-devel@lists.freepascal.org 
Sent: Sunday, January 27, 2013 12:13 PM
Subject: Re: [fpc-devel] Freebsd 9.1 -liconv not found
 



On 27 Jan 2013, at 16:03, Leonardo M. Ramé wrote:

I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've installed iconv 
and libiconv from ports, but /usr/bin/ld keeps complaining about cannot 
finding -liconv.


Install libiconv-dev, libiconv-devel or something like that.




Jonas

Mmm, no, that would work for Linux, but not on bsd.

Leonardo M. Ramé
http://leonardorame.blogspot.com
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-27 Thread Marco van de Voort
In our previous episode, Leonardo M. Ram? said:
 I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've installed iconv 
 and libiconv from ports, but /usr/bin/ld keeps complaining about cannot 
 finding -liconv.?

Any hint?.

Pass -Fl/usr/local/lib in OPT=
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Freebsd 9.1 -liconv not found

2013-01-27 Thread Leonardo M . Ramé
- Original Message -

 From: Marco van de Voort mar...@stack.nl
 To: Leonardo M. Ramé martinr...@yahoo.com; FPC developers' list 
 fpc-devel@lists.freepascal.org
 Cc: 
 Sent: Sunday, January 27, 2013 12:28 PM
 Subject: Re: [fpc-devel] Freebsd 9.1 -liconv not found
 
 In our previous episode, Leonardo M. Ram? said:
  I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've 
 installed iconv and libiconv from ports, but /usr/bin/ld keeps complaining 
 about 
 cannot finding -liconv.?
 
 Any hint?.
 
 Pass -Fl/usr/local/lib in OPT=
 

Thanks Marco, that did the trick!.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel