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

Ho Sy Tan hosytan at gmail.com
Sun Jul 7 17:51:27 JST 2013


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/withtheoption 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.
> > >
> > > --
> > > 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*


More information about the Sylpheed mailing list