You are here: Re: Issue with building PHP 5.2.2 from source on Windows XP « PHP Programming Language « IT news, forums, messages
Re: Issue with building PHP 5.2.2 from source on Windows XP

Posted by Jerry Stuckle on 06/07/07 16:51

treble54 wrote:
> On Jun 6, 11:08 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> treble54 wrote:
>>> On Jun 6, 12:03 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> treble54 wrote:
>>>>> Sorry, I didn't realize my last message went up as blank.
>>>>> I have fixed mostly all of the unresolved external symbols except for
>>>>> the iconv ones. I have added the correct lib and include path for
>>>>> iconv to the --extra-libs/--extra-includes flags. Do I need to build
>>>>> iconv on the machine I am using (Windows)? Or does it need to be in a
>>>>> different directory, maybe?
>>>>> -- treble54
>>>> Actually, it wasn't blank - must be something Google Groups (one of the
>>>> reasons I don't use it - I run straight from usenet - it's much better).
>>>> I don't know about having to build it. Not knowing what it was built
>>>> with in the first place, it's hard to say. Compilers don't always
>>>> generate compatible lib files. I know it's a pain - but that seems to
>>>> be how it is.
>>>> However, you might try adding iconv to your lib list. Just having it in
>>>> the lib path may not be enough.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> I'm new to developing on Windows, and I am not sure what you mean by
>>> Lib List. If its not Windows-specific, then I guess I mean in general,
>>> what is a lib list.
>>> Thanks again for communicating back and forth with me. I really
>>> appreciate it.
>>> -- treble54
>> I don't use .NET, but every linker I'm familiar with has an option
>> somewhere to list the specific libraries you want included. For
>> instance, you might have 150 libraries in a directory, some with
>> conflicting definitions for various reasons. You can pick the one(s)
>> you want.
>>
>> For command line linkers it's a "-something" option; for GUI's it's
>> typically an entry box. You may need to look at your documentation for
>> your IDE.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> Yeah, I want to say that this command is what you might be referring
> to for my specific case (maybe?):
>
> cscript /nologo configure.js --with-extra-includes="C:\work\win32build
> \include;C:\work\php-5.2.2\ext\iconv-1.9.1\include" --with-extra-
> libs="C:\work\win32build\lib;C:\work\php-5.2.2\ext\iconv-1.9.1\lib" --
> enable-debug --disable-cgi --enable-cli --with-pdo-ibm="C:
> \SQLLIB",shared --with-dom --with-libxml="C:\work\php-5.2.2\ext
> \libxml2\bin" --with-iconv="C:\work\php-5.2.2\ext\iconv-1.9.1\bin" --
> without-gd --enable-zlib
>
> I believe this command enables / disables specific options (or
> extensions) before you build php. Its quite irritating, though,
> because the lib that has these external symbols is listed in this
> command I just pasted above (C:\work\php-5.2.2\ext\iconv-1.9.1\lib\).
> Anyway, I'm still trucking along trying to build this. If you have
> anything to add that might be useful, please let me know! :) Thanks
> for taking the time to help me out.
>
> -- treble54
>

Well, again it looks like you're specifying a directory for the library,
but not the library itself.

--with-extra-libs="...C:\work\php-5.2.2\ext\iconv-1.9.1\lib"

That looks like a directory, not a library.

But as I say - I'm not at all familiar with .NET, so I can't help you
much on it.

Maybe you should try a group for .NET programmers to see if they can help.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация