-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems installing on Windows 10 #4
Comments
I suggest that you just use a Linux machine to use PennCNV (or use a VM in
windows).
It is very difficult to compile source code in Windows due to many
dependencies that are not well supported in Windows.
…On Wed, Mar 14, 2018 at 4:49 PM, ABGane ***@***.***> wrote:
Hello,
I've been trying to install GenGen on a device running Windows10. I
downloaded GenGen v1.0.1 (tar.gz). I unpacked this using the Bash shell
with tar xvfz gengen.tar.gz as suggested and navigated to the kext
directory where I modified the Makefile by changing the one occurrence of
kc.so to kc.dll (included below). When I enter make though I get the
following error:
$ make
gcc perl -MExtUtils::Embed -e ccopts -fPIC -c -o kc_wrap.o kc_wrap.c
kc_wrap.c:1:0: warning: -fPIC ignored for target (all code is position
independent)
/* ------------------------------------------------------------
----------------
^
In file included from kc_wrap.c:731:0:
C:/Octave/OCTAVE~1.1/lib/perl5/5.8/msys/CORE/perl.h:925:27: fatal error:
netinet/in.h: No such file or directory
include <netinet/in.h>
^
compilation terminated.
make: *** [kc_wrap.o] Error 1
I was wondering if anyone else has had the same problem and whether anyone
knows how to get this working? I have also tried installing the same
package on a Ubuntu virtual machine without any success (both the old and
newer versions).
Thanks for any help you can provide!
---- Edited Makefile ----
SHELL = /bin/sh
.SUFFIXES: .c .o
Notes: When compiling in Windows, change the "kc.so" below to "kc.dll".
The "-fPIC" can be optionally omitted When compiling in Mac OS X, change
the "kc.so" below to "kc.dylib", and change "-shared" to "-dynamiclib" When
compiling in Solaris, change "gcc" to "cc"
CC = gcc
LD = gcc
CFLAGS = perl -MExtUtils::Embed -e ccopts -fPIC
LDFLAGS = perl -MExtUtils::Embed -e ldopts
ARCH = perl -MConfig -e 'print $$Config{archname}'
VER = perl -MConfig -e 'print $$Config{version}'
kc.dll: kc_wrap.o kc.o
$(LD) -shared -o $@ $^ $(LDFLAGS)
mkdir -p $(VER)
mkdir -p $(VER)/$(ARCH)/
mkdir -p $(VER)/$(ARCH)/auto/
mv $@ $(VER)/$(ARCH)/
clean:
rm -f *.o *.so
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFptuACdfLqNRmMHoqMXbzzdHzf9ulnxks5teYI8gaJpZM4SrJlW>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I've been trying to install GenGen on a device running Windows10. I downloaded GenGen v1.0.1 (tar.gz). I unpacked this using the Bash shell with tar xvfz gengen.tar.gz as suggested and navigated to the kext directory where I modified the Makefile by changing the one occurrence of kc.so to kc.dll (included below). When I enter make though I get the following error:
$ make
gcc
perl -MExtUtils::Embed -e ccopts
-fPIC -c -o kc_wrap.o kc_wrap.ckc_wrap.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* ----------------------------------------------------------------------------
^
In file included from kc_wrap.c:731:0:
C:/Octave/OCTAVE~1.1/lib/perl5/5.8/msys/CORE/perl.h:925:27: fatal error: netinet/in.h: No such file or directory
include <netinet/in.h>
compilation terminated.
make: *** [kc_wrap.o] Error 1
I was wondering if anyone else has had the same problem and whether anyone knows how to get this working? I have also tried installing the same package on a Ubuntu virtual machine without any success (both the old and newer versions).
Thanks for any help you can provide!
---- Edited Makefile ----
SHELL = /bin/sh
.SUFFIXES: .c .o
Notes:
When compiling in Windows, change the "kc.so" below to "kc.dll". The "-fPIC" can be optionally omitted
When compiling in Mac OS X, change the "kc.so" below to "kc.dylib", and change "-shared" to "-dynamiclib"
When compiling in Solaris, change "gcc" to "cc"
CC = gcc
LD = gcc
CFLAGS =
perl -MExtUtils::Embed -e ccopts
-fPICLDFLAGS =
perl -MExtUtils::Embed -e ldopts
ARCH =
perl -MConfig -e 'print $$Config{archname}'
VER =
perl -MConfig -e 'print $$Config{version}'
kc.dll: kc_wrap.o kc.o
$(LD) -shared -o $ @ $^ $ (LDFLAGS)$(VER)/$ (ARCH)/$(VER)/$ (ARCH)/auto/$@ $ (VER)/$(ARCH)/
mkdir -p $(VER)
mkdir -p
mkdir -p
mv
clean:
rm -f *.o *.so
The text was updated successfully, but these errors were encountered: