The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Problem compiling skipstone-looking in wrong place for files
Author: Elizabeth 
Date:   11-02-01 21:31

Hi, I'm having another problem with a program I'm installing looking in the wrong place for header files it needs.
I'm trying to install skipstone, a galeon-like browser that doesn't need gnome, but when I try to make install, I get this:
<blockquote>gcc -g -Wall -DM18 -I.. -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/mozilla -D_THREAD_SAFE -pthread -O -pipe -c -o main.o main.c
In file included from main.c:6:
<b>skipstone.h:20: gtkmozembed.h: No such file or directory</b>
In file included from main.c:6:
skipstone.h:59: syntax error before `GtkMozEmbed'
skipstone.h:260: syntax error before `*'
gmake[1]: *** [main.o] Error 1
gmake[1]: Leaving directory `/usr/ports/pub/FreeBSD/branches/-current/ports/www/skipstone/work/skipstone-0.6.1/src'
gmake: *** [all] Error 2</blockquote>
Note it's also complaining about syntax errors (there were several more that I didn't quote). A quick search found gtkmozembed.h in /usr/X11R6/include/mozilla-embedded.
Could I please get some <i>helpful</i> advice this time? I know I have the mozilla libraries installed, please don't tell me to check if they're installed.

Reply To This Message
 
 Re: Problem compiling skipstone-looking in wrong place for files
Author: Dan Langille 
Date:   12-02-01 02:01

Elizabeth wrote:
>
> Hi, I'm having another problem with a program I'm installing
> looking in the wrong place for header files it needs.

Next time, please tell us what version you are compiling. See
here:

[dan@xeon:/usr/ports/www/skipstone] $ head Makefile
# New ports collection makefile for: SkipStone
# Date created: 16 November 2000
# Whom: eric <eric@osd.bsdi.com>
#
# $FreeBSD: ports/www/skipstone/Makefile,v 1.2 2001/02/01 11:48:35 sobomax Exp $
#

PORTNAME= skipstone
PORTVERSION= 0.6.1
CATEGORIES= www

It's that 0.6.1 which is important to know. If you're not using that version, I suggest you cvsup your ports tree. It also helps to state that you are installing a port. I guessed that you were because of the following line:

> gmake[1]: Leaving directory
> `/usr/ports/pub/FreeBSD/branches/-current/ports/www/skipstone/work/skipstone-0.6.1/src'

I also notice "-current" in the above path. To me, this seems to indicate you are running -current. If so, and you can't solve problems like this, should you really be running -current? I suggest you should be on -stable at most.

> Could I please get some <i>helpful</i> advice this time? I
> know I have the mozilla libraries installed, please don't
> tell me to check if they're installed.

Helpful? Sorry, but every does try to be helpful. If it turns out that the suggestions don't solve your problem, it doesn't mean the advice was not well intentioned. People looking for help should not be so critical.

To answer your question, my skipstone compile fine. I didn't install it though.

To solve your problem:

1 - make sure you have the latest cvsup of your ports.
2 - see if you have the same version of the Makefile as I do.
3 - get off -current (if you're on it, because you shouldn't be)

best wishes

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org