Giter Club home page Giter Club logo

Comments (11)

gnusupport avatar gnusupport commented on June 29, 2024

make check
emacs --batch -Q -l ert -l test.el -f ert-run-tests-batch-and-exit
Loading file /package/text/emacs-27.0.50/share/emacs/27.0.50/lisp/emacs-lisp/ert.elc failed to provide feature ‘pq’
make: *** [Makefile:28: check] Error 255

from emacs-libpq.

anse1 avatar anse1 commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

As you see, apparently random XX.elc files are blamed to "fail to provide" feature 'pq'.

pg_config --includedir
/package/database/postgresql-10.1/include

make clean
rm -f pq.so

make
gcc -I/home/data1/protected/Programming/git/emacs-libpq -I/media/GNU.Support/sources/emacs/src/ -I/package/database/postgresql-10.1/include -std=gnu99 -ggdb3 -Wall -fPIC -c pq.c
ld -shared -lpq -o pq.so pq.o
rm pq.o

make check
emacs --batch -Q -l ert -l test.el -f ert-run-tests-batch-and-exit
Loading file /package/text/emacs-27.0.50/share/emacs/27.0.50/lisp/emacs-lisp/ert.elc failed to provide feature ‘pq’
make: *** [Makefile:28: check] Error 255

I have this file here:
/media/GNU.Support/sources/emacs/src/emacs-module.h

from emacs-libpq.

anse1 avatar anse1 commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

it appears at random, it changes files:
.../emacs/27.0.50/lisp/vc/vc-git.elc failed to provide feature ‘pq’")

Did you ever try to use development version with your module?

from emacs-libpq.

anse1 avatar anse1 commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

from emacs-libpq.

anse1 avatar anse1 commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

from emacs-libpq.

gnusupport avatar gnusupport commented on June 29, 2024

That issue relates to GNU Emacs, and not to emacs-libpq module. So I think it should be closed now as a "bug".

I have discussed it as Emacs bug https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30106 and after the patch, few other bugs were found, but I could make it so that it works. Now I can load the emacs-libpq module and have replaced whatever I was doing earlier with pg.el that does not work in the version 10.1 of the PostgreSQL

If I find anything weird with your module, I will report again.

Otherwise, few commands you made work well. And I found that pq:query is working well even for INSERT statements and anything. I had to adjust to use vectors instead of list members, that was not hard at all.

You did not know that pg.el is going to become not functional for 10.1 version of PostgreSQL, and you made this module for your use. As soon as various operating systems start adopting 10.1 version, your module will be more wanted. It advertised on https://www.emacswiki.org/emacs/PostgreSQL#toc2

Thank you for making this happen.

from emacs-libpq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.