Skip to contentSkip to conversation

Am a newby and I cannot compile git

DISCUSSION Fabio Aiuto 2 participants 8 messages Feb 10, 2019 – Feb 23, 2019

lore
Share & tools
lore
#0 lore raw

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in the header file zlib.h this structure is declared. Help me!!! Fabio.

#1 lore raw

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 8 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in the header file zlib.h this structure is declared. Help me!!! Fabio.

#2 lore raw

Hello Santiago,
I'm running debian Stretch on my machine, and using Eclipse. I'm new in linux world so I don't know how could I let you know all packages I've installed in a single screenshot.
However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile project from existing code. I tried to build several time beacuse of some compilation errors that I fixed by installing the following packages:

$ sudo apt-get install zlib1g-dev
$ sudo apt-get install libcurl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug session, the IDE says tat 'Program file does not exist'. And there are more errors spread over the project wich are not detected.When i do the rebuild by clicking the 'hammer' icon, the message in the console window says:
20:04:07 **** Incremental Build of configuration Default for project git ****
make all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates

20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!!
Thank you
Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 20 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 9 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in the
header file zlib.h this structure is declared. Help me!!! Fabio.

#3 lore raw

Ok I typed make install from the terminal, then I attached the the project to the executable generated in the local bin directory. So I can happily trace in the code. Thank you, hope I will be able to fix things in git very soon!!!
Fabio.
Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:

Quoted 61 lines

Hello Santiago,
I'm running debian Stretch on my machine, and using Eclipse. I'm new in
linux world so I don't know how could I let you know all packages I've
installed in a single screenshot.
However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile project from existing code. I tried to build several time beacuse of some compilation errors that I fixed by installing the following packages:

$ sudo apt-get install zlib1g-dev
$ sudo apt-get install libcurl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug session, the IDE says tat 'Program file does not exist'. And there are
more errors spread over the project wich are not detected.When i do the
rebuild by clicking the 'hammer' icon, the message in the console window says:
20:04:07 **** Incremental Build of configuration Default for project git ****
make all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates

20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!!
Thank you
Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 21 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 10 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in
the
header file zlib.h this structure is declared. Help me!!! Fabio.

#4 lore raw

Awesome,

Do consider reading the files under Documentation (as other people suggested) to make it easier to contribute. There's CodingGuidelines and SubmittingPatches that are super useful :)

Good luck!
-Santiago.

Quoted 67 lines · Fabio Aiuto

Ok I typed make install from the terminal, then I attached the the project to the executable generated in the local bin directory. So I can happily trace in the code. Thank you, hope I will be able to fix things in git very soon!!!
Fabio.
Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:

Quoted 61 lines

Hello Santiago,
I'm running debian Stretch on my machine, and using Eclipse. I'm new in
linux world so I don't know how could I let you know all packages I've
installed in a single screenshot.
However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile project from existing code. I tried to build several time beacuse of some compilation errors that I fixed by installing the following packages:

$ sudo apt-get install zlib1g-dev
$ sudo apt-get install libcurl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug session, the IDE says tat 'Program file does not exist'. And there are
more errors spread over the project wich are not detected.When i do the
rebuild by clicking the 'hammer' icon, the message in the console window says:
20:04:07 **** Incremental Build of configuration Default for project git ****
make all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates

20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!!
Thank you
Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 21 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 10 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in
the
header file zlib.h this structure is declared. Help me!!! Fabio.

#5 lore raw

Thank you so much Santiago!!! Sorry for late, lot of work these days!!! See you soon.
Fabio.
Il giorno mar, 12/02/2019 alle 16.54 -0500, Santiago Torres ha scritto:

Quoted 88 lines

Awesome,

Do consider reading the files under Documentation (as other people suggested) to make it easier to contribute. There's CodingGuidelines and SubmittingPatches that are super useful :)

Good luck!
-Santiago.

Quoted 78 lines · Fabio Aiuto

Ok I typed make install from the terminal, then I attached the the project to the executable generated in the local bin directory. So I
can happily trace in the code. Thank you, hope I will be able to fix
things in git very soon!!!
Fabio.
Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:

Quoted 70 lines

Hello Santiago,
I'm running debian Stretch on my machine, and using Eclipse. I'm new
in
linux world so I don't know how could I let you know all packages I've
installed in a single screenshot.
However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile
project from existing code. I tried to build several time beacuse of
some compilation errors that I fixed by installing the following packages:

$ sudo apt-get install zlib1g-dev
$ sudo apt-get install libcurl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug session, the IDE says tat 'Program file does not exist'. And there
are
more errors spread over the project wich are not detected.When i do
the
rebuild by clicking the 'hammer' icon, the message in the console window says:
20:04:07 **** Incremental Build of configuration Default for project
git ****
make all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates

20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!!
Thank you
Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 24 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your
setup? (e.g., what OS are you running, what packages are installed,
how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 11 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and
in
the
header file zlib.h this structure is declared. Help me!!! Fabio.

#6 lore raw

Hello Santiago,
how could I get a first task? A simple one please, I'd like being introduced to git developing as a participant in order to get used to submitting patches, and all the tools I need.
Thank you in advance.
Fabio.

Il giorno ven, 15/02/2019 alle 20.13 +0100, Fabio Aiuto ha scritto:

Quoted 107 lines

Thank you so much Santiago!!! Sorry for late, lot of work these days!!!
See you soon.
Fabio.
Il giorno mar, 12/02/2019 alle 16.54 -0500, Santiago Torres ha scritto:

Quoted 101 lines

Awesome,

Do consider reading the files under Documentation (as other people suggested) to make it easier to contribute. There's CodingGuidelines
and SubmittingPatches that are super useful :)

Good luck!
-Santiago.

Quoted 90 lines · Fabio Aiuto

Ok I typed make install from the terminal, then I attached the the
project to the executable generated in the local bin directory. So
I
can happily trace in the code. Thank you, hope I will be able to fix
things in git very soon!!!
Fabio.
Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:

Quoted 79 lines

Hello Santiago,
I'm running debian Stretch on my machine, and using Eclipse. I'm
new
in
linux world so I don't know how could I let you know all packages
I've
installed in a single screenshot.
However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile
project from existing code. I tried to build several time beacuse
of
some compilation errors that I fixed by installing the following
packages:

$ sudo apt-get install zlib1g-dev
$ sudo apt-get install libcurl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug
session, the IDE says tat 'Program file does not exist'. And there
are
more errors spread over the project wich are not detected.When i
do
the
rebuild by clicking the 'hammer' icon, the message in the console
window says:
20:04:07 **** Incremental Build of configuration Default for project
git ****
make all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates

20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!!
Thank you
Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 26 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about
your
setup? (e.g., what OS are you running, what packages are installed,
how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 12 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g- dev
and
in
the
header file zlib.h this structure is declared. Help me!!! Fabio.

#7 lore raw
In reply to Santiago Torres

Hello Santiago,
how could I get a first task? A simple one please, I'd like being introduced to git developing as a participant in order to get used to submitting patches, and all the tools I need.
Thank you in advance.
Fabio.

Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Quoted 20 lines

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how
did you get the git sources, etc.)

Thanks,
-Santiago.

Quoted 9 lines · Fabio Aiuto

Hello again my problem is that I cannot compile git. The error message says:

Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in the
header file zlib.h this structure is declared. Help me!!! Fabio.