pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Subject: Re: pkg/49893: Compiling gammu-1.33.0/smsd/core.c, fatal error: sql.h: No such file or directory, does exist.



>   > > Stop.
>   > > ...
>   > 
>   > However, sql.h exists in /usr/pkg/include.
>  
>  Does it exist in work/.buildlink/include? ...

Hmmm, no.  This is what is in work/.buildlink/include:

Mon May 11 20:01:07 on cterm.rse.com /mnt/g/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work A) ls -altr .buildlink/include/
total 6
lrwxr-xr-x  1 root  wheel   22 May  9 22:37 usb.h@ -> /usr/pkg/include/usb.h
lrwxr-xr-x  1 root  wheel   24 May  9 22:37 usbpp.h@ -> /usr/pkg/include/usbpp.h
drwxr-xr-x  2 root  wheel  512 May  9 22:37 curl/
lrwxr-xr-x  1 root  wheel   27 May  9 22:37 idn-free.h@ -> /usr/pkg/include/idn-free.h
lrwxr-xr-x  1 root  wheel   26 May  9 22:37 idn-int.h@ -> /usr/pkg/include/idn-int.h
lrwxr-xr-x  1 root  wheel   23 May  9 22:37 idna.h@ -> /usr/pkg/include/idna.h
lrwxr-xr-x  1 root  wheel   23 May  9 22:37 pr29.h@ -> /usr/pkg/include/pr29.h
lrwxr-xr-x  1 root  wheel   27 May  9 22:37 punycode.h@ -> /usr/pkg/include/punycode.h
lrwxr-xr-x  1 root  wheel   29 May  9 22:37 stringprep.h@ -> /usr/pkg/include/stringprep.h
lrwxr-xr-x  1 root  wheel   22 May  9 22:37 tld.h@ -> /usr/pkg/include/tld.h
drwxr-xr-x  3 root  wheel  512 May  9 22:37 ./
drwxr-xr-x  9 root  wheel  512 May  9 22:37 ../

>  ... And, what package does the
>  one in /usr/pkg belong to?
>  -- 
>  David A. Holland
>  dholland%netbsd.org@localhost
> ... 

Looks like it was put there during the libreoffice build, building 
=> Creating binary package /usr/local/src/pkgsrcstuff/pkgsrc/packages/All/unixodbc-2.3.0nb2.tgz

These are all the places in pkgsrc I found sql.h:

Tue May 12 15:46:38 on cterm.rse.com /mnt/g/usr/local/src/pkgsrcstuff/pkgsrc A) ls -altrdc comms/gammu/work/gammu-1.33.0/smsd/services/PaxHeaders.12815/sql.h ./comms/gammu/work/gammu-1.33.0/smsd/services/sql.h databases/unixodbc/work/unixODBC-2.3.0/include/sql.h databases/unixodbc/work/.destdir/usr/pkg/include/sql.h misc/libreoffice4/work/libreoffice-4.4.1.2/external/unixODBC/inc/odbc/sql.h misc/libreoffice4/work/.buildlink/include/sql.h /mnt/g/usr/pkg/include/sql.h

-rw-r--r--  1 root   wheel  32261 May  4 17:45 databases/unixodbc/work/unixODBC-2.3.0/include/sql.h
-rw-r--r--  1 root   wheel  32261 May  4 17:47 databases/unixodbc/work/.destdir/usr/pkg/include/sql.h
-rw-r--r--  1 root   wheel  32261 May  4 17:47 /mnt/g/usr/pkg/include/sql.h
-rw-r--r--  1 10003  users  32477 May  4 18:42 misc/libreoffice4/work/libreoffice-4.4.1.2/external/unixODBC/inc/odbc/sql.h
lrwxr-xr-x  1 root   wheel     22 May  4 18:46 misc/libreoffice4/work/.buildlink/include/sql.h@ -> /usr/pkg/include/sql.h
-rw-r--r--  1 root   wheel     90 May  9 22:37 comms/gammu/work/gammu-1.33.0/smsd/services/PaxHeaders.12815/sql.h
-rw-r--r--  1 root   wheel    443 May  9 22:37 ./comms/gammu/work/gammu-1.33.0/smsd/services/sql.h

This is a search through all of the package build messages:

Tue May 12 15:56:48 on cterm.rse.com /mnt/g/usr/local/src/pkgsrcstuff/pkgsrc A) grep '\<sql\.h' */*/nohup.out 

cad/qcad/nohup.out:  Found sql.h in /usr/pkg/include
cad/qcad/nohup.out:  Found sql.h in /usr/pkg/include
comms/gammu/nohup.out:/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/services/sql-core.h:34:17: fatal error: sql.h: No such file or directory
comms/gammu/nohup.out: #include <sql.h>
misc/libreoffice4/nohup.out: /usr/bin/install -c -o root -g wheel -m 644 odbcinst.h odbcinstext.h sql.h sqlext.h sqltypes.h sqlucode.h uodbc_stats.h uodbc_extras.h '/usr/local/src/pkgsrcstuff/pkgsrc/databases/unixodbc/work/.destdir/usr/pkg/include'

-- 
Kind Regards, I am

 /s/ Michael L. Riechers

Michael L. Riechers,
Owner,                                  M L Riechers Systems Engineering
513/844-2220 (voice)                    530 Main Street
513/205-5589 (cell)                     Hamilton, Ohio 45013
513/844-2279 (fax)
mlr%rse.com@localhost  (internet)
www.rse.com  (WEB)

Systems Programming: The three most adverse malignancies in life are:
  1)signed numbers,  2)floating point numbers, and  3)little endians.


Home | Main Index | Thread Index | Old Index