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

Hello, ask a question to install imgsmlr #10

Open
dt1018614769 opened this issue Oct 18, 2018 · 3 comments
Open

Hello, ask a question to install imgsmlr #10

dt1018614769 opened this issue Oct 18, 2018 · 3 comments

Comments

@dt1018614769
Copy link

[postgres@vtiger-prod-mysql1 imgsmlr]$ make USE_PGXS=1 installcheck
/usr/local/pgsql/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --psqldir='/usr/local/pgsql/bin' --dbname=contrib_regression imgsmlr
(using postmaster on Unix socket, default port)
============== dropping database "contrib_regression" ==============
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries ==============
test imgsmlr ... FAILED

======================
1 of 1 tests failed.

The differences that caused some tests to fail can be viewed in the
file "/usr/local/src/imgsmlr/regression.diffs". A copy of the test summary that you see
above is saved in the file "/usr/local/src/imgsmlr/regression.out".

@dt1018614769
Copy link
Author

Then I look at the regression.diffs file, find

  • ERROR: function jpeg2pattern(bytea) does not exist
  • LINE 9: (CASE WHEN id % 3 = 1 THEN jpeg2pattern(data)
  •                                            ^
    
  • HINT: No function matches the given name and argument types. You might need to add explicit type casts.
    ALTER TABLE pat ADD PRIMARY KEY (id);
  • ERROR: relation "pat" does not exist
    CREATE INDEX pat_signature_idx ON pat USING gist (signature);
  • ERROR: relation "pat" does not exist
    SELECT p1.id, p2.id, round((p1.pattern <-> p2.pattern)::numeric, 4) FROM pat p1, pat p2 ORDER BY p1.id, p2.id;
    ! ERROR: relation "pat" does not exist
    ! LINE 1: ...und((p1.pattern <-> p2.pattern)::numeric, 4) FROM pat p1, pa...
    ! ^
    SELECT p1.id, p2.id, round((p1.signature <-> p2.signature)::numeric, 4) FROM pat p1, pat p2 ORDER BY p1.id, p2.id;
    ! ERROR: relation "pat" does not exist
    ! LINE 1: ...(p1.signature <-> p2.signature)::numeric, 4) FROM pat p1, pa...
    ! ^
    SET enable_seqscan = OFF;
    SELECT id FROM pat ORDER BY signature <-> (SELECT signature FROM pat WHERE id = 1) LIMIT 3;
    ! ERROR: relation "pat" does not exist
    ! LINE 1: SELECT id FROM pat ORDER BY signature <-> (SELECT signature ...

@dt1018614769
Copy link
Author

But I definitely have gd-devel installed and configured environment variables.

@ghost
Copy link

ghost commented Mar 22, 2019

Have you solved it?

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

1 participant