DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th March 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default Package install error.

Code:
Titan# cd /usr/ports/devel/liboobs/ && make install clean
===>  Installing for liboobs-2.22.0_1
===>   liboobs-2.22.0_1 depends on file: /usr/local/etc/dbus-1/system.d/system-tools-backends.conf - found
===>   liboobs-2.22.0_1 depends on executable: pkg-config - found
===>   liboobs-2.22.0_1 depends on file: /usr/local/lib/gio/modules/libgiofam.so - found
===>   liboobs-2.22.0_1 depends on shared library: dbus-glib-1.2 - found
===>   liboobs-2.22.0_1 depends on shared library: hal.1 - found
===>   liboobs-2.22.0_1 depends on shared library: glib-2.0.0 - found
===>   Generating temporary packing list
===>  Checking if devel/liboobs already installed
Making install in oobs
/bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -Wall  -DG_LOG_DOMAIN=\"Liboobs\"  -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT oobs-ifacesconfig.lo -MD -MP -MF .deps/oobs-ifacesconfig.Tpo -c -o oobs-ifacesconfig.lo oobs-ifacesconfig.c
 cc -DHAVE_CONFIG_H -I. -I.. -Wall -DG_LOG_DOMAIN=\"Liboobs\" -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT oobs-ifacesconfig.lo -MD -MP -MF .deps/oobs-ifacesconfig.Tpo -c oobs-ifacesconfig.c  -fPIC -DPIC -o .libs/oobs-ifacesconfig.o
oobs-ifacesconfig.c:23:20: error: libhal.h: No such file or directory
*** Error code 1

Stop in /usr/ports/devel/liboobs/work/liboobs-2.22.0/oobs.
*** Error code 1

Stop in /usr/ports/devel/liboobs/work/liboobs-2.22.0.
*** Error code 1

Stop in /usr/ports/devel/liboobs.
Sorry guys just cant see which way to go on this one.
Reply With Quote
  #2   (View Single Post)  
Old 24th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

The problem is:
Quote:
error: libhal.h: No such file or directory
This library is part of:
Quote:
===> liboobs-2.22.0_1 depends on shared library: hal.1 - found
Check if the the /usr/local/include/hal/libhal.h exists, if it doesn't, reinstall sysutils/hal.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 24th March 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default

Carpetsmoker.

Thank you for quick response,yes I do have /usr/local/include/hal/libhal.h
Reply With Quote
  #4   (View Single Post)  
Old 24th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I could be wrong, but I don't see -I/usr/local/include/hal/ in the argument list.

Try running # make clean install, if that doesn't work try # make clean install CFLAGS="-I/usr/local/include/hal/"
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 24th March 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

I just did a test install, and I see an interesting difference. Your 'make install' start with the installing part, as if the port has already been 'made' (built) before. Could you try a 'make clean install clean' or a 'make distclean install clean'?
Reply With Quote
  #6   (View Single Post)  
Old 24th March 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default

Carpetsmoker.

Spot on again mate,used #make clean install, worked perfectly.
I have never used that command before, what is happening when you reverse install and clean.
Reply With Quote
  #7   (View Single Post)  
Old 24th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
I have never used that command before, what is happening when you reverse install and clean.
make accepts multiple targets, targets are executed in the order they are given.
So `make clean install clean' is the same as `make clean && make install && make clean'
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 25th March 2009
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 303
Default

or one can do) ... make config && /bin/rm -rf work && pkg_delete -f /var/db/pkg/..portname-number && make install && [ /bin/rm -rf work ] && yell
..........
requires /yell/ (pardon the line wrap above)
..........
__________________
FreeBSD 13-STABLE
Reply With Quote
  #9   (View Single Post)  
Old 25th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Why would anyone want to do that?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 25th March 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

That looks like a 'make deinstall reinstall' to me
Reply With Quote
Old 25th March 2009
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 303
Default

just trying to be all-inclusive. One can script those. I have an
alias which runs a shell script, that puts .texi or .info files
(gtar, for example, includes 14 .texi which are AFAIK not
installed by the port, and erased by make install clean)
(I forget which) in the /port/ so I can (1) peruse them with the
cli in my signature (as of today at least); also warns me if
^^^^^^^^^^^^^^^^^ in other words, I *did* use
/pinfo/ but just discovered the other one a few days ago ;
.................................................. .........................
dependencies change so I can change to another TTY and
install stuff before the distinfo download, plus one or two
other customizations. But people are always asking about
port install fixes on these forums without knowing the
base tools which may work...

1... without having to learn the INFO browsing techniques. Even
if the INFO (.texi) were installed.
__________________
FreeBSD 13-STABLE
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java install error delboy FreeBSD Ports and Packages 2 26th August 2009 09:34 AM
"No package available in the PKG_PATH" error Nk2Network OpenBSD Packages and Ports 19 12th January 2009 09:22 PM
KDE3 install stop error delboy FreeBSD Ports and Packages 2 20th November 2008 10:02 AM
snort install error ijk FreeBSD Installation and Upgrading 1 11th August 2008 10:53 AM
slimserver make install *** Error code 1 alan79 FreeBSD Ports and Packages 15 28th May 2008 12:35 PM


All times are GMT. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick