[Github-comments] [geany/geany] Compile errors on geany-1.37.1 and geany-plugins-1.37 (#2792)

slackuser0xae34 notifications at xxxxx
Tue Apr 20 13:38:44 UTC 2021


# Problems with compiling Geany 1.37.1 on Slackware 14.2:

First Problem:

$ /bin/sh .../geany-1.37.1/build-aux/install-sh -d .../package-geany/usr/share/geany

/bin/ginstall -c -m 644 ./COPYING /home/ric/TMP/package-geany/usr/share/geany/GPL-2
 /bin/mkdir -p '/home/ric/TMP/package-geany/usr/share/applications'
 /bin/ginstall -c -m 644 geany.desktop '/home/ric/TMP/package-geany/usr/share/applications'
 /bin/mkdir -p '/home/ric/TMP/package-geany/usr/lib/pkgconfig'
 /bin/ginstall -c -m 644 geany.pc '/home/ric/TMP/package-geany/usr/lib/pkgconfig'
make[2]: Leaving directory '/home/ric/TMP/geany-1.37.1'
make[1]: Leaving directory '/home/ric/TMP/geany-1.37.1'
cp: cannot stat 'COMMITTERS': No such file or directory

The package geany-1.37.1.tar.gz is missing the "COMMITTERS" file, as such compilation fails. Copying the "COMMITTERS" file from the 1.34.1 package to the 1.37.1 package, then recompiling works on a 32 bit laptop.

Second Problem:

On a 64 bit desktop, compiling the 1.37.1 packages results in the following error message: 

/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: i386 architecture of input file `../scintilla/.libs/libscintilla.a(DBCS.o)' is incompatible with i386:x86-64 output

collect2: error: ld returned 1 exit status
Makefile:708: recipe for target 'libgeany.la' failed
make[3]: *** [libgeany.la] Error 1

The issue is in ../scintilla/.libs/libscintilla.a(DBCS.o):

$ file DBCS.o 
DBCS.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

Running a "make clean" before compiling is desirable.

After correcting successful compiling: 
$ diff -q geany-1.37.1.working/ geany-1.37.1/ > geany.diff

Only in geany-1.37.1.working/: COMMITTERS

PROBLEMS WITH COMPILING Geany-plugins 1.37:

First Problem:

There are "missing files in the '.gz file (or the makefile needs tweaking).

diff -q geany-plugins-1.37.working/ geany-plugins-1.37/ > geany-plugins.diff

Only in geany-plugins-1.37.working/: HACKING
Only in geany-plugins-1.37.working/: MAINTAINERS
Only in geany-plugins-1.37.working/: autogen.sh

Copying the missing files from the 1.34.1 package to the 1.37.1 package, then recompiling works.

Second Problem:

     In installing geany/geany-plugins I was also experimenting with updating gpg & gpg2 (from Slackware-current (aka Slackware 15-rc1). I need to update libassuan from version 2.4.2 to version 2.5.5. There is an issue with geany-plugins and libassuan 2.5.5. One of the libraries which geany-plugins depends on is no longer present in libassuan 2.5.5. 
     After reverting back to the default gpg/gpg2/libassuan (libassuan 2.4.2) the problem disappeared. Eventually geany-plugins may need a tweak for later version of libassuan.

Help: does anyone know how to shut off the github markdown stuff and use just plain old text? Thanks. S.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2792
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210420/a79c174d/attachment.htm>


More information about the Github-comments mailing list