Problems compiling scid-vs-pc

Hi,

If more information is needed or any commands that help to identify the problem, please let me know.

In the compilation of scid-vs-pc:

won@won-hpprobook455156inchg10notebookpc ~$ cd Descargas
won@won-hpprobook455156inchg10notebookpc Descargas$ ls
CHESS-DOWNLOADS  E-SWORD  pexels-photo-2055389.jpeg  STARTDICT
won@won-hpprobook455156inchg10notebookpc Descargas$ ls
CHESS-DOWNLOADS  E-SWORD  pexels-photo-2055389.jpeg  STARTDICT
won@won-hpprobook455156inchg10notebookpc Descargas$ cd CHESS-DOWNLOADS
won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS$ ls
Caissabase_2022_12_24  Fischer.pgn  Obsidian-13.0  scid_vs_pc-4.25  ShashChess-36  stockfish
won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS$ cd scid_vs_pc-4.25
won@won-hpprobook455156inchg10notebookpc scid_vs_pc-4.25$ ./configure
Scid vs. PC configure - Makefile configuration program
    Renaming "Makefile" to "Makefile.bak"
    Tcl/Tk version: 8.6
    Your operating system is: Linux 6.6.57-1-lts
      NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"
DISTRIB_ID="EndeavourOS"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="EndeavourOS Linux"
DISTRIB_CODENAME="rolling"

    Location of "tcl.h": /usr/include
    Location of "tk.h": /usr/include
    Location of Tcl 8.6 library: /usr/lib
    Location of Tk 8.6 library: /usr/lib
    Location of X11 library: /usr/lib
    Checking if your system already has zlib installed: yes.

The Makefile configured for your system was written.
Now type "make" to compile Scid.

won@won-hpprobook455156inchg10notebookpc scid_vs_pc-4.25$

*So far so good… but …

won@won-hpprobook455156inchg10notebookpc scid_vs_pc-4.25$ LANG=C make
make -C engines/phalanx/ -f Makefile CC="gcc" LINK="g++" CFLAGS="-O2 -fno-exceptions -Wall " LDFLAGS="" 
make[1]: Entering directory '/home/won/Descargas/CHESS-DOWNLOADS/scid_vs_pc-4.25/engines/phalanx'
g++ -O2 -fno-exceptions -Wall    .o/phalanx.o .o/bcreate.o .o/search.o .o/io.o .o/data.o .o/evaluate.o .o/genmoves.o .o/moving.o .o/hash.o .o/static.o .o/levels.o .o/book.o .o/killers.o .o/endgame.o .o/learn.o .o/easy.o -o phalanx
/usr/bin/ld: .o/phalanx.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:23: phalanx] Error 1
make[1]: Leaving directory '/home/won/Descargas/CHESS-DOWNLOADS/scid_vs_pc-4.25/engines/phalanx'
make: *** [Makefile:270: phalanx] Error 2
won@won-hpprobook455156inchg10notebookpc scid_vs_pc-4.25$

As a general rule, when these errors appear it is because something is missing for the compilation, but in this case, although I cannot find tcl-dev or tk-dev here in endeavouros, I tried to compile the chess engines to see if that was the reason … and they were all compiled without any problem.

I don’t know if anyone could help me with this last step, I would be very grateful since I am far from being an expert on the subject,

Regards

EDIT:

I found this at the Forum:

but do not work for me … can’t find tar-xzf

won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS$ tar-xzf scid_vs_pc-4.25.tgz
bash: tar-xzf: orden no encontrada
won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS$

It is in aur and compiles for me.

6 aur/scid_vs_pc 4.25-2 (+40 0.00) 
    Shane's Chess Information Database

Yes, I forgot to said it but the problem is that I prefer to compile because I have some style of pieces tha I need to install later and I only know to do it if I know where is ‘.scidvspc’ locate …

EDIT:

At the last moment I was able to compile it by using:

tar-xf

very rare … !!

/home/xircon/.scidvspc
/home/xircon/.scidvspc/config
/home/xircon/.scidvspc/data
/home/xircon/.scidvspc/log
/home/xircon/.scidvspc/config/history.dat
/home/xircon/.scidvspc/config/options.dat
/home/xircon/.scidvspc/config/recent.dat
/home/xircon/.scidvspc/config/xfccrc
/home/xircon/.scidvspc/data/Correspondence.sg4
/home/xircon/.scidvspc/data/Correspondence.si4
/home/xircon/.scidvspc/data/Correspondence.sn4
/home/xircon/.scidvspc/data/Inbox
/home/xircon/.scidvspc/data/Outbox

Sorry about that, someone at the door. Does that help?

Maybe, I’ll keep it in mind for another occasion, as I told you I already compiled it, thanks!.