[sylpheed:35690] Re: Sylpheed compile error on Windows/MinGW

Ho Sy Tan hosytan at gmail.com
Mon Jul 8 09:11:05 JST 2013


Hello,

Thank you for your advices,

I'll try to build Sylpheed on Windows/MinGW and record everything that
happends. If I succeed, I'll post it to Sylpheed ML.

If anyone have advice, please help me.


On Mon, Jul 8, 2013 at 7:08 AM, Ho Sy Tan <hosytan at gmail.com> wrote:

> Hello,
>
> Thank you for your advices,
>
> I'll try to build Sylpheed on Windows/MinGW and record everything that
> happends. If I succeed, I'll post it to Sylpheed ML.
>
> If anyone have advice, please help me.
>
>
>
> On Mon, Jul 8, 2013 at 12:01 AM, HAYASHI Kentaro <kenhys at gmail.com> wrote:
>
>> Hi,
>>
>> Basically, http://sylpheed.sraoss.jp/wiki/index.php?Sylpheed%2FWin32 is
>> good summary of build process.
>> Additionally, you may need to modify src/Makefile to add "-lole32 -luuid"
>> for LIBS if make fails.
>> When I had tried to build sylpheed for myself, it needs some try&error,
>> so I can't show properly organized steps.
>>
>> If you succeed build on Windows/MinGW,  then summarize step-by-step
>> process and post summary to sylpheed ML,
>> It is a very helpful for sylpheed users.
>>
>> Thanks.
>>
>>
>>
>>
>> 2013/7/7 Ho Sy Tan <hosytan at gmail.com>
>>
>>> Hello,
>>>
>>> I need to build Sylpheed on Windows for some reasons. Could you show me
>>> how to build it in detail? What do I need to prepare? May you show me
>>> step-by-step.
>>>  Sory about this, because I do not have much experience with the build
>>> on linux/unix/mingw
>>>
>>>
>>> On Sun, Jul 7, 2013 at 5:14 PM, HAYASHI Kentaro <kenhys at gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> I've not ever used Sylpheed as portable, but  what about renaming
>>>> sample-sylpheed.ini to sylpheed.ini?
>>>> In such a way, Sylpheed zip package stores configuration files into
>>>> specific config directory.
>>>>
>>>>
>>>> 2013/7/7 Ho Sy Tan <hosytan at gmail.com>
>>>>
>>>>> Thank you for your advice.
>>>>>
>>>>> The reason that I like to build Sylpheed by myself is I want to run
>>>>> Sylpheed on special USB device.
>>>>> Can I change Sylpheed source so it stored profile/mail data on a
>>>>> special
>>>>> patition (need use my driver software), nnly Sylpheed can read /write
>>>>> to
>>>>> this partition?
>>>>> There are too many viruses/malwares in my company network, so I want
>>>>> Sylpheed runs on a separate drive, viruses malwares cannot infect to
>>>>> this
>>>>> USB device.
>>>>>
>>>>> To compile Sylpheed 3.3.0 on MinGW, do I need to recompile OpenSSL for
>>>>> MinGW? What vision of OpenSSL should I choose for Sylpheed 3.3.0?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Jul 7, 2013 at 1:42 PM, HAYASHI Kentaro <kenhys at gmail.com>
>>>>> wrote:
>>>>>
>>>>> > Hi,
>>>>> >
>>>>> > I don't know why ./makewin32.sh fails, but
>>>>> > I guess that generated .def file contains two EXPORTS section in
>>>>> > libsylph-0-1.dll.def.
>>>>> >
>>>>> > libsylph/.libs/libsylph-0-1.dll.def
>>>>> >
>>>>> > EXPORTS
>>>>> > ; GENERATED FILE LIST HERE
>>>>> > EXPORTS^M
>>>>> >   account_address_exist @ 1
>>>>> >  .....
>>>>> >
>>>>> > If so, just remove the line of comment  from libsylph/libsylph-0.def
>>>>> >
>>>>> > ; LINE OF COMMENT IN HEAD OF .def FILE
>>>>> > EXPORTS
>>>>> >
>>>>> > It seems that ";" line is not handled properly.
>>>>> >
>>>>> > By the way, why do you want to compile sylpheed in mingw environment
>>>>> by
>>>>> > yourself?
>>>>> > It seems that configuration results shows OpenSSL feature is not
>>>>> detected
>>>>> > yet.
>>>>> > I remember for it was a bit troublesome compiling sylpheed on your
>>>>> own.
>>>>> > Is there a particular reason?
>>>>> >
>>>>> > Thanks.
>>>>> >
>>>>> >
>>>>> > 2013/7/7 Ho Sy Tan <hosytan at gmail.com>
>>>>> >
>>>>> > > Hello,
>>>>> > >
>>>>> > > I try to compile Sylpheed on Windows/MinGW but have some errors.
>>>>> > > My system is built reference
>>>>> > > http://sylpheed.sraoss.jp/wiki/index.php?Sylpheed% 2FWin32.
>>>>> > >
>>>>> > > My system is as follows:
>>>>> > > - Windows XP Pro SP2.
>>>>> > > - I installed the MinGW + MSYS (run mingw-get-inst-20120426.exe
>>>>> from
>>>>> > >
>>>>> > >
>>>>> >
>>>>> http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/
>>>>> > > with
>>>>> > > the option to upgrade the latest package, MSYS, MSYS Development
>>>>> Tool
>>>>> > Kit).
>>>>> > > - GTK (gtk +-bundle_2.24.10-20120208_win32 from
>>>>> > > http://www.gtk.org/download/win32.php).
>>>>> > >
>>>>> > > I've ran following commands:
>>>>> > >
>>>>> > > $ cd / home/sylpheed-3.3.0 /
>>>>> > > $. / configure
>>>>> > >
>>>>> > > At this point, I think everything is OK.
>>>>> > > The output is as follows:
>>>>> > >
>>>>> > >
>>>>> > > ...
>>>>> > > ...
>>>>> > > ...
>>>>> > > sylpheed 3.3.0
>>>>> > >
>>>>> > > GnuPG         : no
>>>>> > > JPilot        : no
>>>>> > > LDAP          : no
>>>>> > > OpenSSL       : no
>>>>> > > iconv         : yes
>>>>> > > compface      : no
>>>>> > > IPv6          : yes
>>>>> > > GtkSpell      : no
>>>>> > > Oniguruma     : no
>>>>> > > GThread       : yes
>>>>> > >
>>>>> > > The binary will be installed in /usr/local/bin
>>>>> > >
>>>>> > > Configure finished, type 'make' to build.
>>>>> > >
>>>>> > > I tried to make:
>>>>> > > $ make
>>>>> > >
>>>>> > > I get an error at this step, the output is as follows:
>>>>> > >
>>>>> > > ...
>>>>> > > ...
>>>>> > > ...
>>>>> > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > : .libs/libsylph-0-1.dll.def:3: syntax error
>>>>> > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > :.libs/libsylph-0-1.dll.def: file format not recognized; treating
>>>>> as
>>>>> > linker
>>>>> > > scri
>>>>> > > pt
>>>>> > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > :.libs/libsylph-0-1.dll.def:2: syntax error
>>>>> > > collect2.exe: error: ld returned 1 exit status
>>>>> > > make[3]: *** [libsylph-0.la] Error 1
>>>>> > > make[3]: Leaving directory `/home/sylpheed-3.3.0/libsylph'
>>>>> > > make[2]: *** [all] Error 2
>>>>> > > make[2]: Leaving directory `/home/sylpheed-3.3.0/libsylph'
>>>>> > > make[1]: *** [all-recursive] Error 1
>>>>> > > make[1]: Leaving directory `/home/sylpheed-3.3.0'
>>>>> > > make: *** [all] Error 2
>>>>> > >
>>>>> > > If I try to makewin32, this output:
>>>>> > > $ ./makewin32.sh
>>>>> > > configure: WARNING: you should use --build, --host, --target
>>>>> > > configure: WARNING: you should use --build, --host, --target
>>>>> > > configure: WARNING: invalid host type: Tan/dist
>>>>> > > checking build system type... Invalid configuration `Sy': machine
>>>>> `Sy'
>>>>> > not
>>>>> > > recog
>>>>> > > nized
>>>>> > > configure: error: /bin/sh ./config.sub Sy failed
>>>>> > >
>>>>> > > Please give me some solutions for this error.
>>>>> > >
>>>>> > > Thanks in advance.
>>>>> > >
>>>>> > >
>>>>> > > On Sun, Jul 7, 2013 at 11:32 AM, Ho Sy Tan <hosytan at gmail.com>
>>>>> wrote:
>>>>> > >
>>>>> > > > Hello,
>>>>> > > >
>>>>> > > > I try to compile Sylpheed on Windows/MinGW but have some errors.
>>>>> > > > My system is built reference
>>>>> > > > http://sylpheed.sraoss.jp/wiki/index.php?Sylpheed% 2FWin32.
>>>>> > > >
>>>>> > > > My system is as follows:
>>>>> > > > - Windows XP Pro SP2.
>>>>> > > > - I installed the MinGW + MSYS (run mingw-get-inst-20120426.exe
>>>>> from
>>>>> > > >
>>>>> > >
>>>>> >
>>>>> http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/withtheoptionto upgrade the latest package, MSYS, MSYS Development Tool
>>>>>
>>>>> > > > Kit).
>>>>> > > > - GTK (gtk +-bundle_2.24.10-20120208_win32 from
>>>>> > > > http://www.gtk.org/download/win32.php).
>>>>> > > >
>>>>> > > > I've ran following commands:
>>>>> > > >
>>>>> > > > $ cd / home/sylpheed-3.3.0 /
>>>>> > > > $. / configure
>>>>> > > >
>>>>> > > > At this point, I think everything is OK.
>>>>> > > > The output is as follows:
>>>>> > > >
>>>>> > > >
>>>>> > > > ...
>>>>> > > > ...
>>>>> > > > ...
>>>>> > > > sylpheed 3.3.0
>>>>> > > >
>>>>> > > > GnuPG         : no
>>>>> > > > JPilot        : no
>>>>> > > > LDAP          : no
>>>>> > > > OpenSSL       : no
>>>>> > > > iconv         : yes
>>>>> > > > compface      : no
>>>>> > > > IPv6          : yes
>>>>> > > > GtkSpell      : no
>>>>> > > > Oniguruma     : no
>>>>> > > > GThread       : yes
>>>>> > > >
>>>>> > > > The binary will be installed in /usr/local/bin
>>>>> > > >
>>>>> > > > Configure finished, type 'make' to build.
>>>>> > > >
>>>>> > > > I tried to make:
>>>>> > > > $ make
>>>>> > > >
>>>>> > > > I get an error at this step, the output is as follows:
>>>>> > > >
>>>>> > > > ...
>>>>> > > > ...
>>>>> > > > ...
>>>>> > > >
>>>>> > > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > > : .libs/libsylph-0-1.dll.def:3: syntax error
>>>>> > > >
>>>>> > > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > > :.libs/libsylph-0-1.dll.def: file format not recognized;
>>>>> treating as
>>>>> > > > linker scri
>>>>> > > > pt
>>>>> > > >
>>>>> > > >
>>>>> > >
>>>>> >
>>>>> e:/run/builder/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
>>>>> > > > :.libs/libsylph-0-1.dll.def:2: syntax error
>>>>> > > > collect2.exe: error: ld returned 1 exit status
>>>>> > > > make[3]: *** [libsylph-0.la] Error 1
>>>>> > > > make[3]: Leaving directory `/home/sylpheed-3.3.0/libsylph'
>>>>> > > > make[2]: *** [all] Error 2
>>>>> > > > make[2]: Leaving directory `/home/sylpheed-3.3.0/libsylph'
>>>>> > > > make[1]: *** [all-recursive] Error 1
>>>>> > > > make[1]: Leaving directory `/home/sylpheed-3.3.0'
>>>>> > > > make: *** [all] Error 2
>>>>> > > >
>>>>> > > > If I try to makewin32, this output:
>>>>> > > > $ ./makewin32.sh
>>>>> > > > configure: WARNING: you should use --build, --host, --target
>>>>> > > > configure: WARNING: you should use --build, --host, --target
>>>>> > > > configure: WARNING: invalid host type: Tan/dist
>>>>> > > > checking build system type... Invalid configuration `Sy':
>>>>> machine `Sy'
>>>>> > > not
>>>>> > > > recog
>>>>> > > > nized
>>>>> > > > configure: error: /bin/sh ./config.sub Sy failed
>>>>> > > >
>>>>> > > > Please give me some solutions for this error.
>>>>> > > >
>>>>> > > > Thanks in advance.
>>>>> > > >
>>>>> > > > --
>>>>> > > > Thanks & Best Regards,
>>>>> > > >
>>>>> > > >
>>>>> > >
>>>>> >
>>>>> ---------------------------------------------------------------------------
>>>>> > > >
>>>>> > > > Fullname: *Ho Sy Tan*
>>>>> > > > Mobile: (+84) *0902 231 360*
>>>>> > > > Email: *hosytan at gmail.com*
>>>>> > > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > --
>>>>> > > Thanks & Best Regards,
>>>>> > >
>>>>> > >
>>>>> >
>>>>> ---------------------------------------------------------------------------
>>>>> > >
>>>>> > > Fullname: *Ho Sy Tan*
>>>>> > > Mobile: (+84) *0902 231 360*
>>>>> > > Email: *hosytan at gmail.com*
>>>>> > >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > HAYASHI Kentaro <kenhys at gmail.com>
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Best Regards,
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------------
>>>>>
>>>>> Fullname: *Ho Sy Tan*
>>>>> Mobile: (+84) *0902 231 360*
>>>>> Email: *hosytan at gmail.com*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> HAYASHI Kentaro <kenhys at gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Best Regards,
>>>
>>>
>>> ---------------------------------------------------------------------------
>>>
>>> Fullname: *Ho Sy Tan*
>>> Mobile: (+84) *0902 231 360*
>>> Email: *hosytan at gmail.com*
>>>
>>
>>
>>
>> --
>> HAYASHI Kentaro <kenhys at gmail.com>
>>
>
>
>
> --
> Thanks & Best Regards,
>
> ---------------------------------------------------------------------------
>
> Fullname: *Ho Sy Tan*
> Mobile: (+84) *0902 231 360*
> Email: *hosytan at gmail.com*
>



-- 
Thanks & Best Regards,

---------------------------------------------------------------------------

Fullname: *Ho Sy Tan*
Mobile: (+84) *0902 231 360*
Email: *hosytan at gmail.com*


More information about the Sylpheed mailing list