Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Erich
Hi,

On 13 June 2012 0:20:16 Jason Hellenthal wrote:
 
 On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
  Hi,
 
 Hi, Do we really need another one of these pointless rambling threads...

if it helps to keep newcomers with FreeBSD.
 
  
  I placed FreeBSD 10 on an empty disk and downloaded then the ports tree 
  from yesterday.
  
  
  http://wiki.freebsd.org/Intel_GPU
 
 Read the FAQ ?

The problem has not much to do with X.
 
  Installation of Joe.
  
  Joe is always the first port I install as I am used to its commands. I then 
  download and compile other ports. As I am currently on a low-bandwidth 
  Internet connection, I try to keep the machine busy during the night with 
  large downloads.
 
 Irrelevant

It is as I only get errors like this when I install Joe first.
 
  
  Parallel downloading and compilation of scribus and xorg-server
  
  
  How can we help newcomers to avoid this kind of problems?
  
 
 By contributing to PRs and the correct mailing list with solutions,
 outcomes, patches etc...
 
I am one step further now. As I am getting errors like this very often since I 
use this method  of installing ports I thought that there must be something 
basic what I am doing wrong.

The cause of the problem happens much earlier. I used PCBSD to get FreeBSD onto 
the disk and did then a source upgrade. This went fine. But PCBSD installed 
many ports. I assumed now that after deleting them with 'pkg_delete -a' there 
are all gone and installation can start.

Of course, pkg_delete brings some error messages that it could not delete this 
or that as the package list is wrong.

After getting the errors mentioned here, I used to run 'make deinstall' in the 
affected port. This solved the problem. I wonder now what the difference 
between pkg_delete and make deinstall is.

As I mentioned before, I am getting these errors randomly since around 2007. I 
obviously never used make deinstall then.

I will go back now to the FreeBSD ports installation.

 Part of it made it to this thread under a wrong subject line but its a
 start...
 
 
Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Kevin Oberman
On Wed, Jun 13, 2012 at 4:44 PM, Erich erichfreebsdl...@ovitrap.com wrote:
 Hi,

 On 13 June 2012 0:20:16 Jason Hellenthal wrote:

 On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
  Hi,

 Hi, Do we really need another one of these pointless rambling threads...

 if it helps to keep newcomers with FreeBSD.

 
  I placed FreeBSD 10 on an empty disk and downloaded then the ports tree 
  from yesterday.
 
 
  http://wiki.freebsd.org/Intel_GPU

 Read the FAQ ?

 The problem has not much to do with X.

  Installation of Joe.
 
  Joe is always the first port I install as I am used to its commands. I 
  then download and compile other ports. As I am currently on a 
  low-bandwidth Internet connection, I try to keep the machine busy during 
  the night with large downloads.

 Irrelevant

 It is as I only get errors like this when I install Joe first.

 
  Parallel downloading and compilation of scribus and xorg-server
 
 
  How can we help newcomers to avoid this kind of problems?
 

 By contributing to PRs and the correct mailing list with solutions,
 outcomes, patches etc...

 I am one step further now. As I am getting errors like this very often since 
 I use this method  of installing ports I thought that there must be something 
 basic what I am doing wrong.

 The cause of the problem happens much earlier. I used PCBSD to get FreeBSD 
 onto the disk and did then a source upgrade. This went fine. But PCBSD 
 installed many ports. I assumed now that after deleting them with 'pkg_delete 
 -a' there are all gone and installation can start.

 Of course, pkg_delete brings some error messages that it could not delete 
 this or that as the package list is wrong.

 After getting the errors mentioned here, I used to run 'make deinstall' in 
 the affected port. This solved the problem. I wonder now what the difference 
 between pkg_delete and make deinstall is.

 As I mentioned before, I am getting these errors randomly since around 2007. 
 I obviously never used make deinstall then.

 I will go back now to the FreeBSD ports installation.

 Part of it made it to this thread under a wrong subject line but its a
 start...

I strongly recommend that you install ports-mgmt/portmaster (if you
have not done so) and read the man page (YES! You really need to read
it all!) and note the example for re-installing all ports. It will
assure that all ports are cleanly re-installed.

I do admit that I don't delete /usr/local/*, but I do get rid of most
everything in it like bin, lib, include (especially important),
libexec, libdata, info, modules, man, and so on. (Almost abbreviated
and so on to etc which would have triggered much hilarity and some
keyboard smashing!) I never install anything of my own in /usr/local,
but use /usr/opt for that.

If you do it as suggested, you should end up with a very clean, updated system.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Erich
Hi,

On 13 June 2012 17:21:30 Kevin Oberman wrote:
 On Wed, Jun 13, 2012 at 4:44 PM, Erich erichfreebsdl...@ovitrap.com wrote:
  On 13 June 2012 0:20:16 Jason Hellenthal wrote:
  On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:

 I strongly recommend that you install ports-mgmt/portmaster (if you

I use portupgrade for upgrades. It should lead to the same result.

 have not done so) and read the man page (YES! You really need to read
 it all!) and note the example for re-installing all ports. It will
 assure that all ports are cleanly re-installed.
 
 I do admit that I don't delete /usr/local/*, but I do get rid of most
 everything in it like bin, lib, include (especially important),
 libexec, libdata, info, modules, man, and so on. (Almost abbreviated
 and so on to etc which would have triggered much hilarity and some
 keyboard smashing!) I never install anything of my own in /usr/local,
 but use /usr/opt for that.
 
I never did this. It is a good idea as it really cleans the system and you have 
your own stuff outside the third-party stuff.

 If you do it as suggested, you should end up with a very clean, updated 
 system.
 
I did not want to upgrade it. I just wanted a fast solution to have FreeBSD 
running and than start from scratch. This starting from real scratch did not 
work.

It seems that your solution would also solved the problem. I never thought of 
this.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Why are you NOT using FreeBSD -- an example

2012-06-12 Thread Erich
Hi,

I placed FreeBSD 10 on an empty disk and downloaded then the ports tree from 
yesterday.

/etc/make/conf looks like this:

# Uncomment this if you want to do port builds with no interaction
#BATCH=yes

# Keep KDE4 in /usr/local, fixes sharing of icons / mime and others
KDE4_PREFIX=/usr/local
# added by use.perl 2012-01-05 20:44:40
PERL_VERSION=5.12.4
#
# 12.06.12 ed: added to support new Intel KMS.
#
WITH_NEW_XORG=true

All the rest is plain default.

One thing I have to mention as it might is the cause. I used PCBSD to get 
FreeBSD onto the machine and upgraded then via sources to 10.

I extra did not do anything else as I wanted to show how newcomers who just 
follow 'official' documentation hit a wall during this procedurefree.

I used this page to get information for installing X with Intel KMS support:

http://wiki.freebsd.org/Intel_GPU

Here is the current status:

Ports tree downloaded during the day 12.06.12

Installation of Joe.

Joe is always the first port I install as I am used to its commands. I then 
download and compile other ports. As I am currently on a low-bandwidth Internet 
connection, I try to keep the machine busy during the night with large 
downloads.

Parallel downloading and compilation of scribus and xorg-server

This error came from compiling scribus while xorg was still downloading:

g++ -c -O2 -pipe -fno-strict-aliasing -O2 -Wall -W -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_CAST_TO_ASCII -DQFORMINTERNAL_NAMESPACE -DQT_KEYWORDS -DQT_NO_DEBUG 
-DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE 
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../include/QtUiTools 
-I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtXml 
-I../../../include -I../shared -I../../designer/src/uitools 
-I../../designer/src/lib/uilib -I.moc/release-shared -I.uic/release-shared 
-I/usr/local/include/qt4 -I/usr/local/include -o 
.obj/release-shared/moc_finddialog.o .moc/release-shared/moc_finddialog.cpp
g++ 
-Wl,-rpath-link,/usr/ports/devel/qt4-linguist/work/qt-everywhere-opensource-src-4.8.2/lib
 -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 
-o ../../../bin/linguist-qt4 .obj/release-shared/numerus.o  
.obj/release-shared/translator.o  .obj/release-shared/translatormessage.o  
.obj/release-shared/qm.o  .obj/release-shared/qph.o  .obj/release-shared/po.o  
.obj/release-shared/ts.o  .obj/release-shared/xliff.o  
.obj/release-shared/batchtranslationdialog.o  .obj/release-shared/errorsview.o  
.obj/release-shared/finddialog.o  .obj/release-shared/formpreviewview.o  
.obj/release-shared/globals.o  .obj/release-shared/main.o  
.obj/release-shared/mainwindow.o  .obj/release-shared/messageeditor.o  
.obj/release-shared/messageeditorwidgets.o  
.obj/release-shared/messagehighlighter.o  .obj/release-shared/messagemodel.o  
.obj/release-shared/phrasebookbox.o  .obj/release-shared/phrase.o  
.obj/release-shared/phrasemodel.o  .obj/release-shared/phraseview.o  
.obj/release-shared/printout.o  .obj/release-shared/recentfiles.o  
.obj/release-shared/sourcecodeview.o  .obj/release-shared/statistics.o  
.obj/release-shared/translatedialog.o  
.obj/release-shared/translationsettingsdialog.o  .obj/release-shared/simtexth.o 
 .obj/release-shared/moc_batchtranslationdialog.o  
.obj/release-shared/moc_errorsview.o  .obj/release-shared/moc_finddialog.o  
.obj/release-shared/moc_formpreviewview.o  .obj/release-shared/moc_mainwindow.o 
 .obj/release-shared/moc_messageeditor.o  
.obj/release-shared/moc_messageeditorwidgets.o  
.obj/release-shared/moc_messagehighlighter.o  
.obj/release-shared/moc_messagemodel.o  .obj/release-shared/moc_phrasebookbox.o 
 .obj/release-shared/moc_phrase.o  .obj/release-shared/moc_phrasemodel.o  
.obj/release-shared/moc_phraseview.o  .obj/release-shared/moc_recentfiles.o  
.obj/release-shared/moc_sourcecodeview.o  .obj/release-shared/moc_statistics.o  
.obj/release-shared/moc_translatedialog.o  
.obj/release-shared/moc_translationsettingsdialog.o  
.obj/release-shared/qrc_linguist.o
-L/usr/ports/devel/qt4-linguist/work/qt-everywhere-opensource-src-4.8.2/lib 
-L/usr/local/lib/qt4 -L/usr/local/lib 
-L/usr/ports/devel/qt4-linguist/work/qt-everywhere-opensource-src-4.8.2/lib 
-L/usr/local/lib/qt4 -L/usr/local/lib -lQtUiTools -lQtXml -lQtGui -lQtCore
.obj/release-shared/mainwindow.o:(.rodata._ZTV19SortedContextsModel[_ZTV19SortedContextsModel]+0xc0):
 undefined reference to `QAbstractProxyModel::setItemData(QModelIndex const, 
QMapint, QVariant const)'
.obj/release-shared/mainwindow.o:(.rodata._ZTV19SortedMessagesModel[_ZTV19SortedMessagesModel]+0xc0):
 undefined reference to `QAbstractProxyModel::setItemData(QModelIndex const, 
QMapint, QVariant const)'
*** [../../../bin/linguist-qt4] Error code 1
1 error
*** [first] Error code 2
1 error
*** [sub-linguist-make_default] Error code 2
4 errors
*** [do-build] Error 

Re: Why are you NOT using FreeBSD -- an example

2012-06-12 Thread Jason Hellenthal


On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
 Hi,

Hi, Do we really need another one of these pointless rambling threads...

 
 I placed FreeBSD 10 on an empty disk and downloaded then the ports tree from 
 yesterday.
 
 /etc/make/conf looks like this:
 
 # Uncomment this if you want to do port builds with no interaction
 #BATCH=yes
 
 # Keep KDE4 in /usr/local, fixes sharing of icons / mime and others
 KDE4_PREFIX=/usr/local
 # added by use.perl 2012-01-05 20:44:40
 PERL_VERSION=5.12.4
 #
 # 12.06.12 ed: added to support new Intel KMS.
 #
 WITH_NEW_XORG=true
 

New user probably would not have gotten to this point... Just sayin.

 All the rest is plain default.
 
 One thing I have to mention as it might is the cause. I used PCBSD to get 
 FreeBSD onto the machine and upgraded then via sources to 10.
 
 I extra did not do anything else as I wanted to show how newcomers who just 
 follow 'official' documentation hit a wall during this procedurefree.

The below page is not official documentation. It is a wiki, its soley
devoted to developers  and those that wish to check the current status
and or debug problems.

 
 I used this page to get information for installing X with Intel KMS support:
 
 http://wiki.freebsd.org/Intel_GPU

Read the FAQ ?

This whole thread would be better suited to be on x11@ as the FAQ states

 
 Here is the current status:
 
 Ports tree downloaded during the day 12.06.12
 
 Installation of Joe.
 
 Joe is always the first port I install as I am used to its commands. I then 
 download and compile other ports. As I am currently on a low-bandwidth 
 Internet connection, I try to keep the machine busy during the night with 
 large downloads.

Irrelevant

 
 Parallel downloading and compilation of scribus and xorg-server
 
 This error came from compiling scribus while xorg was still downloading:
 
 g++ -c -O2 -pipe -fno-strict-aliasing -O2 -Wall -W -DQT_NO_CAST_FROM_ASCII 
 -DQT_NO_CAST_TO_ASCII -DQFORMINTERNAL_NAMESPACE -DQT_KEYWORDS -DQT_NO_DEBUG 
 -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE 
 -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED 
 -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../include/QtUiTools 
 -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtXml 
 -I../../../include -I../shared -I../../designer/src/uitools 
 -I../../designer/src/lib/uilib -I.moc/release-shared -I.uic/release-shared 
 -I/usr/local/include/qt4 -I/usr/local/include -o 
 .obj/release-shared/moc_finddialog.o .moc/release-shared/moc_finddialog.cpp
 g++ 
 -Wl,-rpath-link,/usr/ports/devel/qt4-linguist/work/qt-everywhere-opensource-src-4.8.2/lib
  -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 
 -o ../../../bin/linguist-qt4 .obj/release-shared/numerus.o  
 .obj/release-shared/translator.o  .obj/release-shared/translatormessage.o  
 .obj/release-shared/qm.o  .obj/release-shared/qph.o  .obj/release-shared/po.o 
  .obj/release-shared/ts.o  .obj/release-shared/xliff.o  
 .obj/release-shared/batchtranslationdialog.o  
 .obj/release-shared/errorsview.o  .obj/release-shared/finddialog.o  
 .obj/release-shared/formpreviewview.o  .obj/release-shared/globals.o  
 .obj/release-shared/main.o  .obj/release-shared/mainwindow.o  
 .obj/release-shared/messageeditor.o  
 .obj/release-shared/messageeditorwidgets.o  
 .obj/release-shared/messagehighlighter.o  .obj/release-shared/messagemodel.o  
 .obj/release-shared/phrasebookbox.o  .obj/release-shared/phrase.o  
 .obj/release-shared/phrasemodel.o  .obj/release-shared/phraseview.o  
 .obj/release-shared/printout.o  .obj/release-shared/recentfiles.o  
 .obj/release-shared/sourcecodeview.o  .obj/release-shared/statistics.o  
 .obj/release-shared/translatedialog.o  
 .obj/release-shared/translationsettingsdialog.o  
 .obj/release-shared/simtexth.o  
 .obj/release-shared/moc_batchtranslationdialog.o  
 .obj/release-shared/moc_errorsview.o  .obj/release-shared/moc_finddialog.o  
 .obj/release-shared/moc_formpreviewview.o  
 .obj/release-shared/moc_mainwindow.o  .obj/release-shared/moc_messageeditor.o 
  .obj/release-shared/moc_messageeditorwidgets.o  
 .obj/release-shared/moc_messagehighlighter.o  
 .obj/release-shared/moc_messagemodel.o  
 .obj/release-shared/moc_phrasebookbox.o  .obj/release-shared/moc_phrase.o  
 .obj/release-shared/moc_phrasemodel.o  .obj/release-shared/moc_phraseview.o  
 .obj/release-shared/moc_recentfiles.o  
 .obj/release-shared/moc_sourcecodeview.o  
 .obj/release-shared/moc_statistics.o  
 .obj/release-shared/moc_translatedialog.o  
 .obj/release-shared/moc_translationsettingsdialog.o  
 .obj/release-shared/qrc_linguist.o-L/usr/ports/devel
 .obj/release-shared/mainwindow.o:(.rodata._ZTV19SortedContextsModel[_ZTV19SortedContextsModel]+0xc0):
  undefined reference to `QAbstractProxyModel::setItemData(QModelIndex const, 
 QMapint, QVariant const)'
 

Re: Why are you NOT using FreeBSD -- an example

2012-06-12 Thread Jeremy Messenger
On Tue, Jun 12, 2012 at 11:20 PM, Jason Hellenthal
jhellent...@dataix.net wrote:


 On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
 Hi,

 Hi, Do we really need another one of these pointless rambling threads...
snip

Do not reply to the thread and it will die quickly. Quiet simple.

-- 
mezz.free...@gmail.com - m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org