cardano2@LAPTOP-LA0KDTES:~/git/cardano-node$ cabal configure --with-compiler=ghc-8.10.2
cabal: No cabal file found.
Please create a package description file .cabal
What guide are you using? You can also start by confirming the version that is being built. Then checking for the existence of files it says are missing.
cardano-node>(detached*)$ git status
HEAD detached at 1.25.1
nothing to commit, working tree clean
cardano-node>(detached*)$ find . -name "*.cabal"
./hedgehog-extras/hedgehog-extras.cabal
./cardano-cli/cardano-cli.cabal
./cardano-config/cardano-config.cabal
./cardano-api/test/cardano-api-test.cabal
./cardano-api/cardano-api.cabal
./cardano-node/cardano-node.cabal
./cardano-node-chairman/cardano-node-chairman.cabal
...
I am using guide given in cardano Docs and from stakepool247 website.