ROOT 5.34.34 cygwin installation problem

I use windows7 64bit & cygwin64.

I use commands

tar zxf root_v5.34.34.source.tar.gz
export ROOTSYS=$PWD
./configure win32gcc
make

In the middle of compilation I face this error

/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/…/…/…/…/x86_64-pc-cygwin/bin/ld: cannot find -lcrypt
collect2: error: ld returned 1 exit status
Makefile:864: recipe for target ‘lib/libCore.dll’ failed
make: *** [lib/libCore.dll] Error 1

Does anybody have any idea how to fix this?
(see


if you need more details about the error)

any help is appreciated in advance

Hi,

FYI, we don’t support cygwin, but you can try to install package libcrypt-devel :wink:

Cheers, Bertrand.

[quote=“bellenot”]Hi,

FYI, we don’t support cygwin, but you can try to install package libcrypt-devel :wink:

Cheers, Bertrand.[/quote]

Hi dear Bellenot

Thanks for reply. I tried installing the package you said, but I again faced the same error.

Hi,

Well, that’s unfortunate. And as I said, we don’t support Cygwin (I don’t even have a Cygwin installed anywhere). So you should try Google…
And BTW, why Cygwin? Why not a native build?

Cheers, Bertrand.

[quote=“bellenot”]Hi,

Well, that’s unfortunate. And as I said, we don’t support Cygwin (I don’t even have a Cygwin installed anywhere). So you should try Google…
And BTW, why Cygwin? Why not a native build?

Cheers, Bertrand.[/quote]

Hi dear Bellenot

Again thanks for your reply. I have many programs running on windows, so that I thought cygwin may help me have both windows softwares & Linux softwares.

Just as a guess, is it possible that the file already exists but it cannot be found? If so, can I set configure parameters or environment variables so that it can be found ? I don’t know how to set configure command for this purpose.

[quote=“bellenot”]Hi,

Well, that’s unfortunate. And as I said, we don’t support Cygwin (I don’t even have a Cygwin installed anywhere). So you should try Google…
And BTW, why Cygwin? Why not a native build?

Cheers, Bertrand.[/quote]

Hi again

Sorry I made a mistake in installing that package you said. I installed it properly and that error has gone in compilation. Thanks for your reply. But I again faced a new error.


Hi,

Try with --disable-reflex
as an argument configure.

Cheers,
Philippe.

[quote=“pcanal”]Hi,

Try with --disable-reflex
as an argument configure.

Cheers,
Philippe.[/quote]

Hi pcanal

Thank you very much for your solution. I disabled reflex & that error has gone. But I got another error.


cheers

[quote=“hhaghighat”][quote=“pcanal”]Hi,

Try with --disable-reflex
as an argument configure.

Cheers,
Philippe.[/quote]

Hi pcanal

Thank you very much for your solution. I disabled reflex & that error has gone. But I got another error.


cheers[/quote]

Hi dear pcanal

Thanks a million for your help. I disables reflex as you said & a new error appeared. so I disabled opengl too (i hope this doesn’t affect 2D graphs). now I got a new error. Do you have any idea how to fix this?


Hi,

As I said, Cygwin is not supported. May I advise to use a Windows native version of ROOT? You can choose between using a prebuilt version or building from source with CMake.

Cheers, Bertrand.