You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Nuno Ferreira <nu...@gmail.com> on 2008/04/01 17:26:15 UTC

No windows dll's with xerces 3.0.0 beta

Hi,

i downloaded the xerces 3.0.0 beta source and compiled it with MINGW+MSYS,
however there's no bin directory nor dll's to work in windows.

The source was built with the commands:
./configure LDFLAGS=-no-undefined
make
make install

Am i missing something?


Thank you.

Re: No windows dll's with xerces 3.0.0 beta

Posted by Nuno Ferreira <nu...@gmail.com>.
i tried the same command and again no DLL. However i got hold of VC++ 6.0
and finally i was able to build the dll for xerces 3.


On Tue, Apr 1, 2008 at 7:12 PM, Alberto Massari <am...@datadirect.com>
wrote:

> I just tried downloading xerces-c-3.0.0.b1.tar.gz, extracting it and
> running:
>
> ./configure LDFLAGS=-no-undefined
> make
> make install prefix=/c/test
>
> and in the c:\test\bin folder I see a libxerces-c-3-0.dll, while
> c:\test\lib contains the static version libxerces-c.a
>
> Which versions are you using? I have MSYS 1.0.10 and g++ 3.4.5
>
> Alberto
>
>
>
> Nuno Ferreira wrote:
>
> > I get a '.libs' in 'src' directory with files libxerces-c.a,
> > libxerces-c.la,
> > libxerces-c.lai.
> > No error messages during tasks.
> > In the 'samples' directory all executables are created. '.libs'
> > directory is
> > empty.
> >
> >
> > On Tue, Apr 1, 2008 at 6:27 PM, David Bertoni <db...@apache.org>
> > wrote:
> >
> >
> >
> > > Nuno Ferreira wrote:
> > >
> > >
> > >
> > > > Hi,
> > > >
> > > > i downloaded the xerces 3.0.0 beta source and compiled it with
> > > > MINGW+MSYS,
> > > > however there's no bin directory nor dll's to work in windows.
> > > >
> > > > The source was built with the commands:
> > > > ./configure LDFLAGS=-no-undefined
> > > > make
> > > > make install
> > > >
> > > > Am i missing something?
> > > >
> > > >
> > > >
> > > I've tried this with Cygwin and been successful, but I haven't tried
> > > Mingw
> > > yet.  Do you get any error messages, or does the build pretend to
> > > complete
> > > successfully without building the sample binaries?  Also, what do you
> > > get in
> > > the lib directory?
> > >
> > > Dave
> > >
> > >
> > >
> >
> >
> >
>
>
>

Re: No windows dll's with xerces 3.0.0 beta

Posted by Alberto Massari <am...@datadirect.com>.
Nuno Ferreira wrote:
> I have the same versions as you.
> Does the "prefix=..." make a difference?
>   

The prefix=... forces the installation to be in a specific folder, so 
that I could verify what is getting installed; if you don't specify it, 
the default (/usr/local) is used.
If you still don't see the DLL, double check that you typed exactly 
LDFLAGS=-no-undefined (instead of LD_FLAGS, or --no-undefined), and that 
the setting is written in the generated Makefile.

Alberto
>
> On Tue, Apr 1, 2008 at 7:12 PM, Alberto Massari <am...@datadirect.com>
> wrote:
>
>   
>> I just tried downloading xerces-c-3.0.0.b1.tar.gz, extracting it and
>> running:
>>
>> ./configure LDFLAGS=-no-undefined
>> make
>> make install prefix=/c/test
>>
>> and in the c:\test\bin folder I see a libxerces-c-3-0.dll, while
>> c:\test\lib contains the static version libxerces-c.a
>>
>> Which versions are you using? I have MSYS 1.0.10 and g++ 3.4.5
>>
>> Alberto
>>
>>
>>
>> Nuno Ferreira wrote:
>>
>>     
>>> I get a '.libs' in 'src' directory with files libxerces-c.a,
>>> libxerces-c.la,
>>> libxerces-c.lai.
>>> No error messages during tasks.
>>> In the 'samples' directory all executables are created. '.libs'
>>> directory is
>>> empty.
>>>
>>>
>>> On Tue, Apr 1, 2008 at 6:27 PM, David Bertoni <db...@apache.org>
>>> wrote:
>>>
>>>
>>>
>>>       
>>>> Nuno Ferreira wrote:
>>>>
>>>>
>>>>
>>>>         
>>>>> Hi,
>>>>>
>>>>> i downloaded the xerces 3.0.0 beta source and compiled it with
>>>>> MINGW+MSYS,
>>>>> however there's no bin directory nor dll's to work in windows.
>>>>>
>>>>> The source was built with the commands:
>>>>> ./configure LDFLAGS=-no-undefined
>>>>> make
>>>>> make install
>>>>>
>>>>> Am i missing something?
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> I've tried this with Cygwin and been successful, but I haven't tried
>>>> Mingw
>>>> yet.  Do you get any error messages, or does the build pretend to
>>>> complete
>>>> successfully without building the sample binaries?  Also, what do you
>>>> get in
>>>> the lib directory?
>>>>
>>>> Dave
>>>>
>>>>
>>>>
>>>>         
>>>
>>>       
>>
>>     
>
>   



Re: No windows dll's with xerces 3.0.0 beta

Posted by Nuno Ferreira <nu...@gmail.com>.
I have the same versions as you.
Does the "prefix=..." make a difference?


On Tue, Apr 1, 2008 at 7:12 PM, Alberto Massari <am...@datadirect.com>
wrote:

> I just tried downloading xerces-c-3.0.0.b1.tar.gz, extracting it and
> running:
>
> ./configure LDFLAGS=-no-undefined
> make
> make install prefix=/c/test
>
> and in the c:\test\bin folder I see a libxerces-c-3-0.dll, while
> c:\test\lib contains the static version libxerces-c.a
>
> Which versions are you using? I have MSYS 1.0.10 and g++ 3.4.5
>
> Alberto
>
>
>
> Nuno Ferreira wrote:
>
> > I get a '.libs' in 'src' directory with files libxerces-c.a,
> > libxerces-c.la,
> > libxerces-c.lai.
> > No error messages during tasks.
> > In the 'samples' directory all executables are created. '.libs'
> > directory is
> > empty.
> >
> >
> > On Tue, Apr 1, 2008 at 6:27 PM, David Bertoni <db...@apache.org>
> > wrote:
> >
> >
> >
> > > Nuno Ferreira wrote:
> > >
> > >
> > >
> > > > Hi,
> > > >
> > > > i downloaded the xerces 3.0.0 beta source and compiled it with
> > > > MINGW+MSYS,
> > > > however there's no bin directory nor dll's to work in windows.
> > > >
> > > > The source was built with the commands:
> > > > ./configure LDFLAGS=-no-undefined
> > > > make
> > > > make install
> > > >
> > > > Am i missing something?
> > > >
> > > >
> > > >
> > > I've tried this with Cygwin and been successful, but I haven't tried
> > > Mingw
> > > yet.  Do you get any error messages, or does the build pretend to
> > > complete
> > > successfully without building the sample binaries?  Also, what do you
> > > get in
> > > the lib directory?
> > >
> > > Dave
> > >
> > >
> > >
> >
> >
> >
>
>
>

Re: No windows dll's with xerces 3.0.0 beta

Posted by Alberto Massari <am...@datadirect.com>.
I just tried downloading xerces-c-3.0.0.b1.tar.gz, extracting it and 
running:

./configure LDFLAGS=-no-undefined
make
make install prefix=/c/test

and in the c:\test\bin folder I see a libxerces-c-3-0.dll, while 
c:\test\lib contains the static version libxerces-c.a

Which versions are you using? I have MSYS 1.0.10 and g++ 3.4.5

Alberto


Nuno Ferreira wrote:
> I get a '.libs' in 'src' directory with files libxerces-c.a, libxerces-c.la,
> libxerces-c.lai.
> No error messages during tasks.
> In the 'samples' directory all executables are created. '.libs' directory is
> empty.
>
>
> On Tue, Apr 1, 2008 at 6:27 PM, David Bertoni <db...@apache.org> wrote:
>
>   
>> Nuno Ferreira wrote:
>>
>>     
>>> Hi,
>>>
>>> i downloaded the xerces 3.0.0 beta source and compiled it with
>>> MINGW+MSYS,
>>> however there's no bin directory nor dll's to work in windows.
>>>
>>> The source was built with the commands:
>>> ./configure LDFLAGS=-no-undefined
>>> make
>>> make install
>>>
>>> Am i missing something?
>>>
>>>       
>> I've tried this with Cygwin and been successful, but I haven't tried Mingw
>> yet.  Do you get any error messages, or does the build pretend to complete
>> successfully without building the sample binaries?  Also, what do you get in
>> the lib directory?
>>
>> Dave
>>
>>     
>
>   



Re: No windows dll's with xerces 3.0.0 beta

Posted by Nuno Ferreira <nu...@gmail.com>.
I get a '.libs' in 'src' directory with files libxerces-c.a, libxerces-c.la,
libxerces-c.lai.
No error messages during tasks.
In the 'samples' directory all executables are created. '.libs' directory is
empty.


On Tue, Apr 1, 2008 at 6:27 PM, David Bertoni <db...@apache.org> wrote:

> Nuno Ferreira wrote:
>
> > Hi,
> >
> > i downloaded the xerces 3.0.0 beta source and compiled it with
> > MINGW+MSYS,
> > however there's no bin directory nor dll's to work in windows.
> >
> > The source was built with the commands:
> > ./configure LDFLAGS=-no-undefined
> > make
> > make install
> >
> > Am i missing something?
> >
> I've tried this with Cygwin and been successful, but I haven't tried Mingw
> yet.  Do you get any error messages, or does the build pretend to complete
> successfully without building the sample binaries?  Also, what do you get in
> the lib directory?
>
> Dave
>

Re: No windows dll's with xerces 3.0.0 beta

Posted by David Bertoni <db...@apache.org>.
Nuno Ferreira wrote:
> Hi,
> 
> i downloaded the xerces 3.0.0 beta source and compiled it with MINGW+MSYS,
> however there's no bin directory nor dll's to work in windows.
> 
> The source was built with the commands:
> ./configure LDFLAGS=-no-undefined
> make
> make install
> 
> Am i missing something?
I've tried this with Cygwin and been successful, but I haven't tried 
Mingw yet.  Do you get any error messages, or does the build pretend to 
complete successfully without building the sample binaries?  Also, what 
do you get in the lib directory?

Dave