Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Alright, will do. On Thu, May 20, 2010 at 3:44 PM, Viktor Szakáts wrote: > What can I say? A lib can be used if it's present in one of > the passed lib dirs (-L options). > > Apparently curldll lib (the implib) is not there. > > Why? I cannot tell you; and I have told everything that can > I coul

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread Viktor Szakáts
What can I say? A lib can be used if it's present in one of the passed lib dirs (-L options). Apparently curldll lib (the implib) is not there. Why? I cannot tell you; and I have told everything that can I could tell about this whole topic. Probably some blatant mistake or overlook along the

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Hello Viktor, Well, having followed every step that was proper, I still cannot get this to work. No more Perl gcc, no more old revisions, no more forgetting HB_* flags, etc... everything has been tried by me. Unless you can (please) share some more of your Harbour internal knowledge and assist m

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Thank you for clearing that up and your infinite patience. Looks like I'm going to have to right some quick and dirty .bat or perl scripts to toggle which compiler is to be used. On Thu, May 20, 2010 at 2:14 PM, Viktor Szakáts wrote: > I'm afraid not. In general it's not very good to mix > diffe

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread Viktor Szakáts
> Ah. Correct again! I thought if the gcc version I wanted to use before any > other was first in the windows path, it would only be used... but I am > incorrect. > > # proper > ! HB_COMPILER: mingw (v44) (autodetected: c:/mingw/bin/) > > # problematic > ! HB_COMPILER: mingw (v45) (autodetect

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Ah. Correct again! I thought if the gcc version I wanted to use before any other was first in the windows path, it would only be used... but I am incorrect. # proper ! HB_COMPILER: mingw (v44) (autodetected: c:/mingw/bin/) # problematic ! HB_COMPILER: mingw (v45) (autodetected: c:/mingw/bin/gcc

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread Viktor Szakáts
I can just guess without seeing the beginning of your log output. Maybe you manually set HB_COMPILER (without setting HB_COMPILER_VER). Viktor On 2010 May 20, at 22:47, smu johnson wrote: > Well, it looks like it is not my destiny is to not get CURL to work. > > r14528 is now not compiling. >

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Well, it looks like it is not my destiny is to not get CURL to work. r14528 is now not compiling. 1. compile string: win-make HB_BUILD_UNICODE=no HB_BUILD_IMPLIB=yes HB_WITH_CURL=\ver10\curl-7.20.1-devel-mingw32\include install 2. Error text: gcc -I. -I../../../../../include -W -Wall -O3 -f

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Uh oh. When you said check the change log for .hbi, you weren't joking! I think my problem is due to an old revision. Sorry to beat this poor dead horse. On Thu, May 20, 2010 at 1:34 PM, smu johnson wrote: > :( > > I come bearing more bad news. Despite doing all of the above... > __

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
:( I come bearing more bad news. Despite doing all of the above... I did this, and got this: C:\hbm>g:\harbour\bin\hbmk2 hello.PRG g:\harbour\contrib\hbcurl\hbcurl.hbc hbmk2: Processing configuration: g:\harbour\bin\hbmk.cfg Harbour 2.1.0beta1 (Rev. 14434) Copyright (c) 1999-2010, http://www.ha

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread smu johnson
Thanks Viktor. Your knowledge of Clipper and Harbour is impressive! On Thu, May 20, 2010 at 12:55 AM, Viktor Szakáts wrote: > > # looks like a problem > > hbmk2: Warning: Source dynamic library not found: > /ver10/curl-7.20.1-devel-mingw32/include/../libcurl.dll > > > > # looks like it worked?

Re: [Harbour] Question about Curl detection during compile process

2010-05-20 Thread Viktor Szakáts
> # looks like a problem > hbmk2: Warning: Source dynamic library not found: > /ver10/curl-7.20.1-devel-mingw32/include/../libcurl.dll > > # looks like it worked? > hbmk2: Created import library: G:/harbour/lib/win/mingw/liblibcurl.a <= > /ver10/curl-7.20.1-devel-mingw32/include/..

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi again... I did what you said, and have noticed a strange piece of text from the Harbour build which seems a bit contractictory: # looks like a problem hbmk2: Warning: Source dynamic library not found: /ver10/curl-7.20.1-devel-mingw32/include/../libcurl.dll # looks like it worked? hbmk2: Create

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Thanks Viktor! -- smu johnson ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
> Hopefully these questions aren't too n00b-like. > > 1) If hbcurl.hbc will set up everything for me, then does that mean > HB_WITH_CURL isn't necessary upon compiling? HB_WITH_CURL is necessary when building Harbour and/or when creating import libraries. Not needed when using hbcurl.hbc, sinc

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Well, I am stumped :/ Hopefully these questions aren't too n00b-like. 1) If hbcurl.hbc will set up everything for me, then does that mean HB_WITH_CURL isn't necessary upon compiling? 2) Do I need to modify hbcurl.hbc? If the answer to the above question is that I don't need to use HB_WITH_CURL (

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
> Questions: > > for 1) the contrib lib, do you mean hbcurl? Yes, it usually starts with "hb" ("hbsomething"), more generally speaking: it's always the same as the directory name inside contrib dir. > and 2) 3rd party lib, do you mean libcurl? In this case it is, yes. It's internal detail th

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Thanks for responding.. Questions: for 1) the contrib lib, do you mean hbcurl? and 2) 3rd party lib, do you mean libcurl? I have both those things, but this is probably not what you are referring to... From your response, it looks like implib is what I need, and I will try it out. Thank you O

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
Hi, This seems to became a FAQ. To link any contribs which depend on 3rd party libraries, you need two things: - the contrib lib ("hbsomething") - 3rd party lib or implib (mostly implib) If you use HB_BUILD_IMPLIB=yes and .hbc files, this is automatically arranged for you, if you don't, you ne

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi again, I am having a problem... I can't figure out how to get HB_CURL to work! Steps I took: 1) unzipped libcurl devel zip 2) compiled harbour with HB_WITH_CURL= 3) made sure hbmk2 had -lhbcurl arg present for compiling hello world example 4) made sure these includes were present in HELLO

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
Hi, These are the components used by core, this is the reason they are detected centrally. (you may wonder about openssl, which is not yet used by core, but I thought it will/could be, so it's there too) The rest is detected and used on a per contrib basis. There is less verbose feedback for

[Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi there, A simple question: Is curl support for Harbour provided internally, or is it a component to be detected? I see how zlib is mentioned in the compile output header as being detected, and openssl is scanned but not found, etc... ... but I don't see any mention of libcurl, whether or not