Skip to content
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

configure: cannot find input file: ` #13

Open
NicolasGoeddel opened this issue Oct 10, 2023 · 7 comments
Open

configure: cannot find input file: ` #13

NicolasGoeddel opened this issue Oct 10, 2023 · 7 comments

Comments

@NicolasGoeddel
Copy link

Hi,

I tried to build the code on Ubuntu 22.04.3 LTS.

First clone:

~/git$ git clone --recurse-submodules https://github.com/uglyoldbob/decompiler.git
Klone nach 'decompiler' …
remote: Enumerating objects: 1543, done.
remote: Counting objects: 100% (369/369), done.
remote: Compressing objects: 100% (267/267), done.
remote: Total 1543 (delta 197), reused 232 (delta 102), pack-reused 1174
Empfange Objekte: 100% (1543/1543), 920.41 KiB | 1.37 MiB/s, fertig.
Löse Unterschiede auf: 100% (1006/1006), fertig.
Submodul 'udis86' (https://github.com/vmt/udis86.git) für Pfad 'udis86' in die Konfiguration eingetragen.
Klone nach '/home/nicolas/git/decompiler/udis86' …
remote: Enumerating objects: 1951, done.        
remote: Total 1951 (delta 0), reused 0 (delta 0), pack-reused 1951        
Empfange Objekte: 100% (1951/1951), 1.44 MiB | 1.00 MiB/s, fertig.
Löse Unterschiede auf: 100% (1155/1155), fertig.
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Entpacke Objekte: 100% (4/4), 369 Bytes | 369.00 KiB/s, fertig.
Von https://github.com/vmt/udis86
 * branch            5f9dcd5b8646564f24f5c0c066a2357dd6a18306 -> FETCH_HEAD
Submodul-Pfad 'udis86': '5f9dcd5b8646564f24f5c0c066a2357dd6a18306' ausgecheckt

Then cd and mkdir:

~/git$ cd decompiler/
~/git/decompiler$ mkdir build
~/git/decompiler$ cd  build

And then configure:

~/git/decompiler/build$ ../configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for strip... strip
checking for doxygen... doxygen
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: "Building on linux"
configure: "Building for linux"
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Doxyfile
.in'ig.status: error: cannot find input file: `

I don't understand which file is missing here.

@uglyoldbob
Copy link
Owner

I can confirm that it occurs on my machine. It looks like Doxyfile is created no problem. Not sure what the problem is yet.

@uglyoldbob
Copy link
Owner

Ok it looks like the configure scripts needed to be updated with autoreconf -ivf. I pushed a commit to try to resolve configure problems. Please let me know if that also works for you.

@NicolasGoeddel
Copy link
Author

Ok it looks like the configure scripts needed to be updated with autoreconf -ivf. I pushed a commit to try to resolve configure problems. Please let me know if that also works for you.

Thanks. Now it looks like this:

~/git/decompiler/build$ ../configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for strip... strip
checking for doxygen... doxygen
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: "Building on linux"
configure: "Building for linux"
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating ac_config.h
config.status: executing depfiles commands
=== configuring in udis86 (/home/nicolas/git/decompiler/build/udis86)
configure: WARNING: no configuration information is in udis86

And the make afterwards fails like this:

~/git/decompiler/build$ make
make  all-recursive
make[1]: Verzeichnis „/home/nicolas/git/decompiler/build“ wird betreten
Making all in udis86
make[2]: Verzeichnis „/home/nicolas/git/decompiler/build/udis86“ wird betreten
make[2]: *** Keine Regel, um „all“ zu erstellen.  Schluss.
make[2]: Verzeichnis „/home/nicolas/git/decompiler/build/udis86“ wird verlassen
make[1]: *** [Makefile:3974: all-recursive] Fehler 1
make[1]: Verzeichnis „/home/nicolas/git/decompiler/build“ wird verlassen
make: *** [Makefile:1067: all] Fehler 2

Is there anything I did miss?

@uglyoldbob
Copy link
Owner

It looks like you need to pull the git submodule.

git submodule update --init --recursive should work

@NicolasGoeddel
Copy link
Author

It looks like you need to pull the git submodule.

git submodule update --init --recursive should work

Unfortunately that changed nothing. Also I cloned with --recurse-submodules from the begin on (see my initial post). So that should be fine.

But don't stress yourself too much about it because it is not a high priority for me. I just wanted to tinker around with it a bit. 😉

@uglyoldbob
Copy link
Owner

What does ls /home/nicolas/git/decompiler/udis86 and ls /home/nicolas/git/decompiler/build/udis86 give?

@NicolasGoeddel
Copy link
Author

It looks like this:

~/git/decompiler$ ls udis86
autogen.sh  BuildVS2010  BUILD-WINDOWS  CHANGES  configure.ac  docs  INSTALL  libudis86  LICENSE  m4  Makefile.am  README  scripts  tests  udcli  udis86.h

And this one is just empty:

~/git/decompiler$ ls build/udis86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants